Advertisement
Guest User

Untitled

a guest
Mar 20th, 2018
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.51 KB | None | 0 0
  1. C:\Windows\system32>cd ..
  2.  
  3. C:\Windows>mkdir build_android
  4. Já existe uma subpasta ou um arquivo build_android.
  5.  
  6. C:\Windows>cd build_android
  7.  
  8. 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 ..
  9. CMake Error at android/android.toolchain.cmake:654 (message):
  10. Could not find any working toolchain in the NDK. Probably your Android NDK
  11. is broken.
  12. Call Stack (most recent call first):
  13. /usr/share/cmake-3.6.2/Modules/CMakeDetermineSystem.cmake:95 (include)
  14. CMakeLists.txt:2 (project)
  15.  
  16.  
  17. CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
  18. CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
  19. -- Configuring incomplete, errors occurred!
  20.  
  21. C:\Windows\build_android>make
  22. make: *** No targets specified and no makefile found. Stop.
  23.  
  24. C:\Windows\build_android>cd ../
  25.  
  26. C:\Windows>ECHO D | xcopy /E /Y android\project\jni\libSDL2.so android\project\libs\armeabi-v7a
  27. Arquivo não encontrado - libSDL2.so
  28. 0 arquivo(s) copiado(s)
  29.  
  30. C:\Windows>xcopy /E /Y libs\armeabi-v7a\libotclient.so android\project\jni
  31. Arquivo não encontrado - libotclient.so
  32. 0 arquivo(s) copiado(s)
  33.  
  34. C:\Windows>cd android\project
  35.  
  36. C:\Windows\android\project>call android update project -p . --name OTClient --target android-16
  37. **************************************************************************
  38. The "android" command is deprecated.
  39. For manual SDK, AVD, and project management, please use Android Studio.
  40. For command-line tools, use tools\bin\sdkmanager.bat
  41. and tools\bin\avdmanager.bat
  42. **************************************************************************
  43.  
  44. Invalid or unsupported command "update project -p . --name OTClient --target android-16"
  45.  
  46. Supported commands are:
  47. android list target
  48. android list avd
  49. android list device
  50. android create avd
  51. android move avd
  52. android delete avd
  53. android list sdk
  54. android update sdk
  55. Android NDK: Your APP_BUILD_SCRIPT points to an unknown file: C:\Windows\otclient-mobile_port\android\project/jni/Android.mk
  56. C:/android-ndk-r10d/build/core/add-application.mk:199: *** Android NDK: Aborting... . Stop.
  57. Buildfile: build.xml does not exist!
  58. Build failed
  59. Buildfile: build.xml does not exist!
  60. Build failed
  61. O sistema não pode encontrar o caminho especificado.
  62. error: no devices/emulators found
  63. adb: error: failed to get feature set: no devices/emulators found
  64. - waiting for device -
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement