ics-openvpn : how to compile on windows machine
I get the latest source code on here :ics-openvpn and I want to compile it under windows environment. As in README.txt said : Do cd main;./misc/build-native.(sh|bat) in the root directory of the project. After that build the project using "gradle build" (Or use Android Studio). The project is converted to gradle and building with Eclipse is no longer supported. But the content of file build-native.bat is: #echo on echo Currently broken, feel free to fix and send me a patch, see .sh file exit 1 call ndk-build APP_API=all -j 8 cd libs mkdir ..\assets mkdir ..\build\ for /D %%f in (*) do ( copy %%f\minivpn ..\assets\minivpn.%%f del %%f\libcrypto.so del %%f\libssl.so mkdir ..\build\native-libs\%%f\ copy %%f\*.so ..\build\native-libs\%%f\ ) cd .. it means that author notices that this bat file contains error, that cannot be build by this. I try to remove first three lines and run again, i meet these errors: main//jni/Android.mk:11: lzo/Android.mk: no such file or directory main/jni/android.mk : 12: snappy/Android.mk : no such file or directory ... so, my question is : can we build this library on windows (because author has notified that this build file is error), and if can, how ? Thanks :)
It is just like the text says. It is broken because I don't develop on Windows. You can look at the build-native.sh fix the paths etc for Windows. The build problems are nothing difficult but someone has to take the 10 minutes and fix it.
I got all sorts of errors using Cygwin to build this. You may have more luck using an actual Linux box or something like VirtualBox with an Ubuntu image. This worked for me. You will need the Linux NDK (installation instructions here) and you'll need to install make with sudo apt-get install make. Then run cd main;./misc/build-native.sh from the project root.
MPAndroidChart: BubbleEntry on same dataset and xAxis cannot be selected
Android: Storing text file in android device's internal memory not in external memory card?
json error in logcat file in aysnc task
Android Studio 2.2 cannot Run a homescreen project
App crash during edittext on click in android
Programmatically launch a SearchView (Android)
ServiceConnection onServiceConnected is not calling
Android OS shuts down the Wakelock + AlarmManager after a few minutes
ionic.leave do not fire
Adding Android Google PlusOneButton to layout causes compilation error
Json parsing in skyscanner pricing api
Android Studio Crashed and now gradle files are missing info
Im trying to make a acsess code for a app
Fragment data is lost when multiple time startActivityForResult is called
Fragment not attached to Activity in AlertDialog
android camera2 api MediaRecorder stop() error