Problem building project in Android Studio

Problem building project in Android Studio
0

#1

I have a few working apps that I made with Xcode, they work fine in iOS and macOS but I don’t know how to make them work for Android as well.
I tried to open the proj.android file with Android Studio 3.1.4 and got a bunch of errors, I have “linked” with the cocos2d command tool the sdk and ndk from the android developer website.

This are the errors I got if someone have had this same problem

I have already checked the cocos2d tutorial to configure android studio and build apps with it, those are the steps that I have already followed so because of that im asking here.

Build command failed.


Error while executing process /Users/mr.blissfulgrin/android-ndk-r17b/ndk-build with arguments {NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=/Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/Android.mk NDK_APPLICATION_MK=/Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/Application.mk APP_ABI=armeabi-v7a NDK_ALL_ABIS=armeabi-v7a NDK_DEBUG=1 APP_PLATFORM=android-14 NDK_OUT=/Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/build/intermediates/ndkBuild/debug/obj NDK_LIBS_OUT=/Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/build/intermediates/ndkBuild/debug/lib NDK_TOOLCHAIN_VERSION=clang -j4 NDK_DEBUG=1 APP_SHORT_COMMANDS=false LOCAL_SHORT_COMMANDS=false -B -n}


rm -f /Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/build/intermediates/ndkBuild/debug/lib/armeabi-v7a/*


rm -f /Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/build/intermediates/ndkBuild/debug/lib/armeabi-v7a/gdbserver


rm -f /Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/build/intermediates/ndkBuild/debug/lib/armeabi-v7a/gdb.setup


mkdir -p /Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/build/intermediates/ndkBuild/debug/lib/armeabi-v7a


echo [armeabi-v7a] "Gdbserver      ": "[arm-linux-androideabi] /Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/build/intermediates/ndkBuild/debug/lib/armeabi-v7a/gdbserver"


install -p /Users/mr.blissfulgrin/android-ndk-r17b/prebuilt/android-arm/gdbserver/gdbserver /Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/build/intermediates/ndkBuild/debug/lib/armeabi-v7a/gdbserver


echo [armeabi-v7a] "Gdbsetup       ": "/Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/build/intermediates/ndkBuild/debug/lib/armeabi-v7a/gdb.setup"


echo "set solib-search-path /Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/build/intermediates/ndkBuild/debug/obj/local/armeabi-v7a" > /Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/build/intermediates/ndkBuild/debug/lib/armeabi-v7a/gdb.setup


echo "directory /Users/mr.blissfulgrin/android-ndk-r17b/sysroot /Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../Classes /Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/cocos/editor-support/cocostudio/.. /Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/cocos/editor-support/cocosbuilder/.. /Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/cocos/3d/.. /Users/mr.blissfulgrin/Documents/ME/PaimakntballKarts/Trys/Coloe: *** No rule to mrQueue/proj.android/app/jni/..ake target `/Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../Classes/HelloWorldScene.cpp', n/eeded by `/Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/build/intermediates/ndkBuild/debug/obj/local/armeabi-v7a/objs-debug/MyGame_shared//Users/mr.blissfulgrin/D.ocuments/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/__/__/_._/Classes/HelloWorldScene.o'.  Stop.


/../cocos2d/cocos/editor-support/spine/.. /Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/cocos/ui/../editor-support /Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/cocos/audio/android/../include /Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/external/flatbuffers/.. /Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/extensions/. /Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/extensions/.. /Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/extensions/GUI/CCControlExtension /Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/extensions/GUI/CCScrollView /Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/external/Box2D/prebuilt/android/../../include /Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/cocos/network /Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/external/android-specific/tremolo /Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/external/android-specific/pvmp3dec/src /Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/external/android-specific/pvmp3dec/include /Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/cocos/. /Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/cocos/.. /Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/cocos/../external /Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/cocos/../external/tinyxml2 /Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/cocos/../external/unzip /Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/cocos/../external/chipmunk/include/chipmunk /Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/cocos/../external/bullet/include/bullet /Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/cocos/../external/xxhash /Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/cocos/../external/nslog /Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/cocos/../external/poly2tri /Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/cocos/../external/poly2tri/common /Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/cocos/../external/poly2tri/sweep /Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/cocos/../external/clipper /Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/external/websockets/prebuilt/android/../../include/android /Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/external/freetype2/prebuilt/android/../../include/android /Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/external/freetype2/prebuilt/android/../../include/android/freetype2 /Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/external/png/prebuilt/android/../../include/android /Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/external/jpeg/prebuilt/android/../../include/android /Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/external/tiff/prebuilt/android/../../include/android /Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/external/webp/prebuilt/android/../../include/android /Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/external/chipmunk/prebuilt/android/../../include /Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/external/zlib/prebuilt/android/../../include /Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/external/recast/.. /Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/external/bullet/prebuilt/android/../../include /Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/external/bullet/prebuilt/android/../../include/bullet /Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/cocos/platform/android /Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/external/openssl/prebuilt/android/../../include/android /Users/mr.blissfulgrin/android-ndk-r17b/sources/android/cpufeatures /Users/mr.blissfulgrin/android-ndk-r17b/sources/cxx-stl/llvm-libc++/include /Users/mr.blissfulgrin/android-ndk-r17b/sources/cxx-stl/llvm-libc++abi/include /Users/mr.blissfulgrin/android-ndk-r17b/sources/android/support/include /Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/cocos/audio/android/../.. /Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/cocos/audio/android/../../platform/android /Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/cocos/audio/android/../../../external/android-specific /Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/cocos/audio/android/../../../external/android-specific/tremolo /Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/cocos/../external/edtaa3func /Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/cocos/../external/ConvertUTF /Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/cocos/platform/android/.. /Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/cocos/platform/android/../.. /Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/cocos/editor-support/cocosbuilder/../../2d /Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/cocos/editor-support/cocostudio/WidgetReader /Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/external/android-specific/tremolo/Tremolo" >> /Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/build/intermediates/ndkBuild/debug/lib/armeabi-v7a/gdb.setup


mkdir -p /Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/build/intermediates/ndkBuild/debug/obj/local/armeabi-v7a/objs-debug/MyGame_shared//Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/hellocpp


echo [armeabi-v7a] "Compile++ thumb": "MyGame_shared <= main.cpp"

I/Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/external/android-specific/tremolo -I/Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/external/android-specific/pvmp3dec/src -I/Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/external/android-specific/pvmp3dec/include -I/Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/cocos -I/Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/cocos/. -I/Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/cocos/.. -I/Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/cocos/../external -I/Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/cocos/../external/tinyxml2 -I/Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/cocos/../external/unzip -I/Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/cocos/../external/chipmunk/include/chipmunk -I/Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/cocos/../external/poly2tri/common -I/Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/cocos/../external/poly2tri/sweep -I/Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/cocos/../external/clipper -I/Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/external/websockets/prebuilt/android/../../include/android -I/Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/external/freetype2/prebuilt/android/../../include/android -I/Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/external/freetype2/prebuilt/android/../../include/android/freetype2 -I/Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/external/png/prebuilt/android/../../include/android -I/Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/external/jpeg/prebuilt/android/../../include/android -I/Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/external/recast/.. -I/Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/external/bullet/prebuilt/android/../../include -I/Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/external/bullet/prebuilt/android/../../include/bullet -I/Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/cocos/platform/android -I/Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/external/openssl/prebuilt/android/../../include/android -I/Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/external/openssl/prebuilt/android/../../include/android -I/Users/mr.blissfulgrin/android-ndk-r17b/sources/android/cpufeatures -I/Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/external/bullet/prebuilt/android/../../include -I/Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/external/bullet/prebuilt/android/../../include -I/Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/external/bullet/prebuilt/android/../../include -I/Users/mr.blissfulgrin/android-ndk-r17b/sources/cxx-stl/llvm-libc++/include -I/Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/external/bullet/prebuilt/android/../../include -I/Users/mr.blissfulgrin/android-ndk-r17b/sources/cxx-stl/llvm-libc++abi/include -I/Users/mr.blissfulgrin/android-ndk-r17b/sources/android/support/include -I/Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/external/bullet/prebuilt/android/../../include -I/Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni -std=c++11  -frtti -DCC_ENABLE_CHIPMUNK_INTEGRATION=1 -std=c++11 -fsigned-char -Wno-extern-c-compat -DCOCOS2D_DEBUG=1  -DANDROID -DUSE_FILE32API -D__ANDROID_API__=14 -Wa,--noexecstack -Wformat -Werror=format-security -Wno-deprecated-declarations -D__STDC_LIMIT_MACROS=1 -fexceptions  --sysroot /Users/mr.blissfulgrin/android-ndk-r17b/sysroot -isystem /Users/mr.blissfulgrin/android-ndk-r17b/sysroot/usr/include/arm-linux-androideabi -c  /Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/hellocpp/main.cpp -o /Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/build/intermediates/ndkBuild/debug/obj/local/armeabi-v7a/objs-debug/MyGame_shared//Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/hellocpp/main.o


mkdir -p /Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/build/intermediates/ndkBuild/debug/obj/local/armeabi-v7a/objs-debug/MyGame_shared//Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/__/__/__/Classes


echo [armeabi-v7a] "Compile++ thumb": "MyGame_shared <= AppDelegate.cpp"


/Users/mr.blissfulgrin/android-ndk-r17b/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ -MMD -MP -MF /Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/build/intermediates/ndkBuild/debug/obj/local/armeabi-v7a/objs-debug/MyGame_shared//Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/__/__/__/Classes/AppDelegate.o.d -gcc-toolchain /Users/mr.blissfulgrin/android-ndk-r17b/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64 -fpic -ffunction-sections -funwind-tables -fstack-protector-strong -Wno-invalid-command-line-argument -Wno-unused-command-line-argument -no-canonical-prefixes -g -target armv7-none-linux-androideabi14 -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -fno-exceptions -fno-rtti -mthumb -O0 -UNDEBUG -fno-limit-debug-info  -I/Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../Classes -I/Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/cocos/editor-support/cocostudio/.. -I/Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/cocos/editor-support/cocosbuilder/.. -I/Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/cocos/3d/.. -I/Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/cocos/editor-support/spine/.. -I/Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/cocos/ui/../editor-support -I/Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/cocos/audio/android/../include -I/Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/external/flatbuffers/.. -I/Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/extensions/. -I/Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/extensions/.. -I/Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/extensions/GUI/CCControlExtension -I/Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/extensions/GUI/CCScrollView -I/Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/external/android-specific/tremolo -I/Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/external/android-specific/pvmp3dec/src -I/Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/external/android-specific/pvmp3dec/include -I/Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/cocos -I/Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/cocos/. -I/Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/cocos/.. -I/Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/cocos/../external -I/Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/cocos/../external/tinyxml2 -I/Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/cocos/../external/unzip -I/Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/cocos/../external/chipmunk/include/chipmunk -I/Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/cocos/../external/bullet/include/bullet -I/Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/cocos/../external/xxhash -I/Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/cocos/../external/nslog -I/Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/external/openssl/prebuilt/android/../../include/android -I/Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/external/openssl/prebuilt/android/../../include/android -I/Users/mr.blissfulgrin/android-ndk-r17b/sources/android/cpufeatures -I/Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/external/bullet/prebuilt/android/../../include -I/Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/external/bullet/prebuilt/android/../../include -I/Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../cocos2d/external/bullet/prebuilt/android/../../include -I/Users/mr.blissfulgrin/android-ndk-r17b/sources/cxx-stl/llvm-libc++/include -
I/Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni -std=c++11  -frtti -DCC_ENABLE_CHIPMUNK_INTEGRATION=1 -std=c++11 -fsigned-char -Wno-extern-c-compat -DCOCOS2D_DEBUG=1  -DANDROID -DUSE_FILE32API -D__ANDROID_API__=14 -Wa,--noexecstack -Wformat -Werror=format-security -Wno-deprecated-declarations -D__STDC_LIMIT_MACROS=1 -fexceptions  --sysroot /Users/mr.blissfulgrin/android-ndk-r17b/sysroot -isystem /Users/mr.blissfulgrin/android-ndk-r17b/sysroot/usr/include/arm-linux-androideabi -c  /Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/../../../Classes/AppDelegate.cpp -o /Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/build/intermediates/ndkBuild/debug/obj/local/armeabi-v7a/objs-debug/MyGame_shared//Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/__/__/__/Classes/AppDelegate.o
org.gradle.api.ProjectConfigurationException: A problem occurred configuring project ':ColorQueue'.
	at org.gradle.configuration.project.LifecycleProjectEvaluator.addConfigurationFailure(LifecycleProjectEvaluator.java:87)
	at org.gradle.configuration.project.LifecycleProjectEvaluator.notifyAfterEvaluate(LifecycleProjectEvaluator.java:82)
	at org.gradle.configuration.project.LifecycleProjectEvaluator.doConfigure(LifecycleProjectEvaluator.java:69)
	at org.gradle.configuration.project.LifecycleProjectEvaluator.access$100(LifecycleProjectEvaluator.java:33)
	at org.gradle.configuration.project.LifecycleProjectEvaluator$ConfigureProject.run(LifecycleProjectEvaluator.java:103)
	at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336)
	at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:328)
	at org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:197)
	at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:107)
	at org.gradle.configuration.project.LifecycleProjectEvaluator.evaluate(LifecycleProjectEvaluator.java:49)
	at org.gradle.api.internal.project.DefaultProject.evaluate(DefaultProject.java:651)
	at org.gradle.api.internal.project.DefaultProject.evaluate(DefaultProject.java:133)
	at org.gradle.execution.TaskPathProjectEvaluator.configure(TaskPathProjectEvaluator.java:35)
	at org.gradle.execution.TaskPathProjectEvaluator.configureHierarchy(TaskPathProjectEvaluator.java:62)
	at org.gradle.execution.TaskSelector.getSelection(TaskSelector.java:100)
	at org.gradle.execution.TaskSelector.getSelection(TaskSelector.java:81)
	at org.gradle.execution.commandline.CommandLineTaskParser.parseTasks(CommandLineTaskParser.java:42)
	at org.gradle.execution.TaskNameResolvingBuildConfigurationAction.configure(TaskNameResolvingBuildConfigurationAction.java:44)
	at org.gradle.execution.DefaultBuildConfigurationActionExecuter.configure(DefaultBuildConfigurationActionExecuter.java:48)
	at org.gradle.execution.DefaultBuildConfigurationActionExecuter.access$000(DefaultBuildConfigurationActionExecuter.java:25)
	at org.gradle.execution.DefaultBuildConfigurationActionExecuter$1.proceed(DefaultBuildConfigurationActionExecuter.java:54)
	at org.gradle.execution.DefaultTasksBuildExecutionAction.configure(DefaultTasksBuildExecutionAction.java:44)
	at org.gradle.execution.DefaultBuildConfigurationActionExecuter.configure(DefaultBuildConfigurationActionExecuter.java:48)
	at org.gradle.execution.DefaultBuildConfigurationActionExecuter.access$000(DefaultBuildConfigurationActionExecuter.java:25)
	at org.gradle.execution.DefaultBuildConfigurationActionExecuter$1.proceed(DefaultBuildConfigurationActionExecuter.java:54)
	at org.gradle.execution.ExcludedTaskFilteringBuildConfigurationAction.configure(ExcludedTaskFilteringBuildConfigurationAction.java:47)
	at org.gradle.execution.DefaultBuildConfigurationActionExecuter.configure(DefaultBuildConfigurationActionExecuter.java:48)
	at org.gradle.execution.DefaultBuildConfigurationActionExecuter.select(DefaultBuildConfigurationActionExecuter.java:36)
	at org.gradle.initialization.DefaultGradleLauncher$CalculateTaskGraph.run(DefaultGradleLauncher.java:265)
	at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336)
	at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:328)
	at org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:197)
	at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:107)
	at org.gradle.initialization.DefaultGradleLauncher.constructTaskGraph(DefaultGradleLauncher.java:173)
	at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:128)
	at org.gradle.initialization.DefaultGradleLauncher.executeTasks(DefaultGradleLauncher.java:107)
	at org.gradle.internal.invocation.GradleBuildController$1.call(GradleBuildController.java:78)
	at org.gradle.internal.invocation.GradleBuildController$1.call(GradleBuildController.java:75)
	at org.gradle.internal.work.DefaultWorkerLeaseService.withLocks(DefaultWorkerLeaseService.java:152)
	at org.gradle.internal.invocation.GradleBuildController.doBuild(GradleBuildController.java:100)
	at org.gradle.internal.invocation.GradleBuildController.run(GradleBuildController.java:75)
	at org.gradle.tooling.internal.provider.runner.BuildModelActionRunner.run(BuildModelActionRunner.java:53)
	at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
	at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
	at org.gradle.tooling.internal.provider.GradleThreadBuildActionExecuter.execute(GradleThreadBuildActionExecuter.java:36)
	at org.gradle.tooling.internal.provider.GradleThreadBuildActionExecuter.execute(GradleThreadBuildActionExecuter.java:25)
	at org.gradle.tooling.internal.provider.ParallelismConfigurationBuildActionExecuter.execute(ParallelismConfigurationBuildActionExecuter.java:43)
	at org.gradle.tooling.internal.provider.ParallelismConfigurationBuildActionExecuter.execute(ParallelismConfigurationBuildActionExecuter.java:29)
	at org.gradle.tooling.internal.provider.StartParamsValidatingActionExecuter.execute(StartParamsValidatingActionExecuter.java:64)
	at org.gradle.tooling.internal.provider.StartParamsValidatingActionExecuter.execute(StartParamsValidatingActionExecuter.java:29)
	at org.gradle.launcher.daemon.server.exec.LogToClient.doBuild(LogToClient.java:62)
	at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
	at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
	at org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.doBuild(EstablishBuildEnvironment.java:82)
	at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
	at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
	at org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy$1.run(StartBuildOrRespondWithBusy.java:50)
	at org.gradle.launcher.daemon.server.DaemonStateCoordinator$1.run(DaemonStateCoordinator.java:297)
	at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
	at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
	at java.lang.Thread.run(Thread.java:745)
Caused by: org.gradle.api.GradleException: executing external native build for ndkBuild /Users/mr.blissfulgrin/Documents/ME/PaintballKarts/Trys/ColorQueue/proj.android/app/jni/Android.mk
	at com.android.build.gradle.internal.ExtraModelInfo.handleIssue(ExtraModelInfo.java:118)
	at com.android.builder.core.ErrorReporter.handleSyncError(ErrorReporter.java:77)
	at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93)
	at com.sun.proxy.$Proxy32.afterEvaluate(Unknown Source)
	at org.gradle.configuration.project.LifecycleProjectEvaluator.notifyAfterEvaluate(LifecycleProjectEvaluator.java:75)
	... 98 more

#2

I tried to open the proj.android file with Android Studio 3.1.4
-> “proj.android” folder is for Eclipse , which is older tool for android development.
open “proj.android-studio” folder for Android Studio instead.

Also, I don’t know what your cocos2d-x version is, but if you are using older version(say, 2.x), there might be no proj.android-studio.


#3

@usually
I’m in the last version of cocos2d-x (3.17) and I don’t have any proj.android-studio folder, only the proj.android one.


#4

Finally I managed to find the solution to my problem, you need to import the prog.android file as a cradle project, and then you need to modify the Android.mk file to add every .cpp file you have, the you need to sync your project and the you can build it normally.


#5

Oops sorry. I use version 3.16, and there was proj.android(for Eclipse) and proj.android-studio(for A. Studio).
I didn’t know 3.17 has changed it.
It seems that in 3.17, Eclipse project is deprecated and proj.android is for Android Studio.