I am trying to compile SDL 2.0.0 for Android. I followed the instructions of including my project into the build process of libSDL. After a lot of tingling it does indeed build a libSDL2.so. However, it calls a strip command later that seems to fail.
unable to rename ‘C:/android/projectfolder//libs/armeabi/libSDL2.so’; reason: File exists
make: *** [C:/android/projectfolder//libs/armeabi/libSDL2.so] Error 1
make: *** Deleting file `C:/android/projectfolder//libs/armeabi/libSDL2.so’
My development system:
- Win 7, 64-bit
- Android NDK r8c. Target armeabi and x86
- cmd.exe (also tried it in cygwin: no change)
- I have set these environment variables
o JAVA_HOME=C:/Program Files/Java/jdk1.7.0_25/
A friend of mine tried the same files on his Ubuntu system and apparently it worked.
Does anyone know how to fix this?
Thanks in advance!