-
Notifications
You must be signed in to change notification settings - Fork 399
Compiling for Android
Túlio Henrique edited this page Nov 7, 2017
·
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.
- 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: Run compile_android_windows.bat script.
Linux: Run compile_android_unix.sh script.
Lastly contribute to the project! ;)