Need help building Android ( is failing

Need help building Android ( is failing
0.0 0


I am able to get most of my project setup, however when I run the, on the last lines of the build I get this error message. Would you be able to assist? I looked at some of the things for NDK 7 and made changes for it, but I still get this error.

Install : => libs/armeabi/
Compile*+ thumb : game <= main.cpp
Compile*+ thumb : game <= AppDelegate.cpp
Compile++ thumb : game <= HelloWorldScene.cpp
SharedLibrary :
/Users/Black/Projects/Android/android-ndk-r7/toolchains/arm-linux-androideabi-4.4.3/prebuilt/darwin-x86/bin/…/lib/gcc/arm-linux-androideabi/4.4.3/…/…/…/…/arm-linux-androideabi/bin/ld: cannot find -lcurl
collect2: ld returned 1 exit status
make: * [obj/local/armeabi/] Error 1


I answer the question in another thread.
I can not find it now.


Basically, libcurl has moved at some point recently (I don’t know in which version). You probably have a file somewhere which has a line like this:


change it to




as there are now three different versions of libcurl (as well as some other libraries) in libs/cocos2dx/platform/third_party/android/libraries/, armeabi, armeabi-v7a, and x86.


Actually, you can make it simpler and just use $(TARGET_ARCH_ABI) for the final folder’s name.