• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

How can I compile OTClient for Android?

Chriss Angel

New Member
Joined
Jun 7, 2008
Messages
41
Reaction score
1
Who could help me please with a more explained tutorial of how to compile OTClient for Android, I have tried by myself but I am halfway through, the tutorial is already incomplete.

edubart/otclient

Edit: I was try compiled but I have a error

C:\Users\Yuki\Pictures\otclient-mobile - copia\android>C:\Users\Yuki\Pictures\ot
client-mobile - copia\android>"C:\Users\Yuki\Pictures\o
"C:\Users\Yuki\Pictures\otclient-mobile" no se reconoce como un comando interno
o externo,
programa o archivo por lotes ejecutable.

C:\Users\Yuki\Pictures\otclient-mobile - copia\android> C:\Users\Yuki\Pictures\o
tclient-mobile - copia\android\compile_android_windows.bat
"C:\Users\Yuki\Pictures\otclient-mobile" no se reconoce como un comando interno
o externo,
programa o archivo por lotes ejecutable.

C:\Users\Yuki\Pictures\otclient-mobile - copia\android>"C:\Users\Yuki\Pictures\o
tclient-mobile - copia\android\compile_android_windows.bat"

C:\Users\Yuki\Pictures\otclient-mobile - copia\android>cd ..

C:\Users\Yuki\Pictures\otclient-mobile - copia>mkdir build_android
Ya existe el subdirectorio o el archivo build_android.

C:\Users\Yuki\Pictures\otclient-mobile - copia>cd build_android

C:\Users\Yuki\Pictures\otclient-mobile - copia\build_android>cmake -G "Unix Make
files" -DCMAKE_TOOLCHAIN_FILE=../android/android.toolchain.cmake -DANDROID_ABI=a
rmeabi-v7a -DANDROID_NATIVE_API_LEVEL=android-16 -DANDROID_TOOLCHAIN_NAME=arm-li
nux-androideabi-4.6 ..
CMake Error at android/android.toolchain.cmake:484 (message):
Could not find neither Android NDK nor Android standalone toolchain.

You should either set an environment variable:
export ANDROID_NDK=~/my-android-ndk
or
export ANDROID_STANDALONE_TOOLCHAIN=~/my-android-toolchain
or put the toolchain or NDK in the default path:
sudo ln -s ~/my-android-ndk C:/Program Files/android-ndk
sudo ln -s ~/my-android-toolchain /opt/android-toolchain
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.11/Modules/CMakeDetermineSystem.cmake:91
(include)
CMakeLists.txt:2 (project)


CMake Error: CMake was unable to find a build program corresponding to "Unix Mak
efiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a differen
t build tool.
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!

C:\Users\Yuki\Pictures\otclient-mobile - copia\build_android>make
"make" no se reconoce como un comando interno o externo,
programa o archivo por lotes ejecutable.

C:\Users\Yuki\Pictures\otclient-mobile - copia\build_android>cd ../

C:\Users\Yuki\Pictures\otclient-mobile - copia>xcopy /E /Y libs android\project\
libs
No se encuentra el archivo: libs
0 archivo(s) copiado(s)

C:\Users\Yuki\Pictures\otclient-mobile - copia>cd android\project

C:\Users\Yuki\Pictures\otclient-mobile - copia\android\project>call android upda
te project -p . --name OTClient --target android-16 android list device
**************************************************************************
The "android" command is deprecated.
For manual SDK, AVD, and project management, please use Android Studio.
For command-line tools, use tools\bin\sdkmanager.bat
and tools\bin\avdmanager.bat
**************************************************************************

Invalid or unsupported command "update project -p . --name OTClient --target and
roid-16 android list device"

Supported commands are:
android list target
android list avd
android list device
android create avd
android move avd
android delete avd
android list sdk
android update sdk
Buildfile: build.xml does not exist!
Build failed
El sistema no puede encontrar la ruta especificada.
adb: failed to stat OTClient-debug.apk: No such file or directory

C:\Users\Yuki\Pictures\otclient-mobile - copia\android\project>
 
Last edited:
Back
Top