-
Notifications
You must be signed in to change notification settings - Fork 397
Compiling for Android
Túlio Henrique edited this page Jul 7, 2015
·
12 revisions
Download the following files:
- Android SDK
- Android NDK R10d
- Android Libraries for armeabi-v7a
- Java JDK
- Apache ANT
- Cygwin to use make on Windows
- CMake
Extract and install the files downloaded. For Cygwin, you will need select make program to install.
Put the android libraries inside the android ndk folder.
Put the "libSDL2.so" file inside the android/project/libs/armeabi-v7a
- ANDROID_SDK pointing to the android sdk folder
- ANDROID_NDK pointing to the android ndk folder
- JAVA_HOME pointing to the java folder
- ANT_HOME pointing to the apache ant folder
- CYGWIN_HOME pointing to the cygwin folder
- ANDROID_NDK
- ANDROID_SDK/platform-tools (to use adb)
- ANDROID_SDK/tools (to use android)
- JAVA_HOME/bin
- ANT_HOME/bin
- CYGWIN_HOME/bin
git clone -b mobile_port https://github.com/edubart/otclient.git otclient-mobile
or simply
git checkout mobile_port
from within the otclient git repository.
Must connect a phone that with a armeabi-v7a processor.
Windows: Create a script following the "compile_android.sh" logic.
Linux: Run compile_android.sh script.
Lastly contribute to the project! ;)