Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- C:\Windows\system32>cd ..
- C:\Windows>mkdir build_android
- Já existe uma subpasta ou um arquivo build_android.
- C:\Windows>cd build_android
- C:\Windows\build_android>cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Debug -DCMAKE_TOOLCHAIN_FILE=../android/android.toolchain.cmake -DANDROID_ABI=armeabi-v7a -DANDROID_NATIVE_API_LEVEL=android-16 -DANDROID_TOOLCHAIN_NAME=arm-linux-androideabi-4.6 ..
- CMake Error at android/android.toolchain.cmake:654 (message):
- Could not find any working toolchain in the NDK. Probably your Android NDK
- is broken.
- Call Stack (most recent call first):
- /usr/share/cmake-3.6.2/Modules/CMakeDetermineSystem.cmake:95 (include)
- CMakeLists.txt:2 (project)
- CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
- CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
- -- Configuring incomplete, errors occurred!
- C:\Windows\build_android>make
- make: *** No targets specified and no makefile found. Stop.
- C:\Windows\build_android>cd ../
- C:\Windows>ECHO D | xcopy /E /Y android\project\jni\libSDL2.so android\project\libs\armeabi-v7a
- Arquivo não encontrado - libSDL2.so
- 0 arquivo(s) copiado(s)
- C:\Windows>xcopy /E /Y libs\armeabi-v7a\libotclient.so android\project\jni
- Arquivo não encontrado - libotclient.so
- 0 arquivo(s) copiado(s)
- C:\Windows>cd android\project
- C:\Windows\android\project>call android update project -p . --name OTClient --target android-16
- **************************************************************************
- 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 android-16"
- 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
- Android NDK: Your APP_BUILD_SCRIPT points to an unknown file: C:\Windows\otclient-mobile_port\android\project/jni/Android.mk
- C:/android-ndk-r10d/build/core/add-application.mk:199: *** Android NDK: Aborting... . Stop.
- Buildfile: build.xml does not exist!
- Build failed
- Buildfile: build.xml does not exist!
- Build failed
- O sistema não pode encontrar o caminho especificado.
- error: no devices/emulators found
- adb: error: failed to get feature set: no devices/emulators found
- - waiting for device -
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement