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.
How to create simple self LVL like library
java.lang.NoClassDefFoundError, on one of my own class
Android XML Layout with buttons
Android AsyncTask ExceptionInIntilizationError
Dimension of my Scaled ImageView
What happens if a C2DM or GCM Receiver's onReceive function fails during a Registration Intent?
Can the fragments be used in android 2.3 project ?
Drawing to canvas onDraw works, drawing onTouchEvent doesn't
Android ActionBarSherlock Custom View
Downloading Android App from PC to device
Canvas seems to draw on 2 different views
Eclipse Android Emulator - Keyboard not working
How to hide/encrypt/confuse direct URLs used in my Android application? [duplicate]
Executing a Code after activity is displayed
Android NFC Android Application Records Error