Do not specify the Android target platform version, automatic find an available version...
Being performed: 'D: \ "Android \ \ tools \ Android SDK" update lib - project - p D: \ Android \ WorkSpace \ eclipseProjects \ libcocos2dx - t Android - 19'
Executing the NDK - build...
The NDK compilation mode: release
From D: \ Android \ SDK \ the NDK - bundle \ RELEASE. TXT file failed to get the NDK version,
NDK_TOOLCHAIN_VERSION: 4.8
Being performed: 'D: \ "Android \ SDK \ the NDK - bundle \ the NDK - build" - C D: \ Android \ WorkSpace \ CocosStudioProjects \ AA \ proj Android - j3 NDK_MODULE_PATH=D: \ Android \ WorkSpace \ CocosStudioProjects \ AA \ proj Android \../cocos2d; D: \ Android \ WorkSpace \ CocosStudioProjects \ AA \ proj Android \../cocos2d/cocos; D: \ Android \ WorkSpace \ CocosStudioProjects \ AA \ proj Android \../cocos2d/external NDK_TOOLCHAIN_VERSION=4.8 '
Execute the command error, the return value: 2,
Environment variable configuration for a day, with the setup. Py is fine for running
-> Check the environment variable COCOS_TEMPLATES_ROOT
-> The Search for the environment variable COCOS_TEMPLATES_ROOT...
-> COCOS_TEMPLATES_ROOT is found: D: \ cc \ \ Cocos2d Cocos2d - x
-> The Configuration for the Android platform only, you can also skip
Our environment variables
-> Check the environment variable NDK_ROOT
-> The Search for the environment variable NDK_ROOT...
-> NDK_ROOT is found: D: \ Android \ the NDK
-> Check the environment variable ANDROID_SDK_ROOT
-> The Search for the environment variable ANDROID_SDK_ROOT...
-> ANDROID_SDK_ROOT is found: D: \ Android \ SDK
-> Check the environment variable ANT_ROOT
-> The Search for the environment variable ANT_ROOT...
-> ANT_ROOT is found: D: \ Android \ apache ant - 1.9.6 \ bin
The NDK is r11b
CodePudding user response:
The Android version is too low,CodePudding user response:
The Android SDK version is too low,CodePudding user response:
It is best to use the Cocos "a key configuration" function,