zx12a1
#1
Hi
I am following the link below to try and upgrade my build so I can debug in Android Studio.
I can build my cocos libraries using the following command:
cocos gen-libs -p android --ap android-25 --app-abi armeabi:x86:armeabi-v7a
Builds Ok using android-ndk-r10c. Any newer version r11c, 13b, 14b and I get a link error
./base/CCConsole.cpp:423: error: undefined reference to ‘bzero’
cocos2d-x 3.14.1
Build tools 25.0.2
minSdk 9 target/compile Sdk 25
Help please?
(Android Studio support)
Try to delete these from cocos2d-x folder: tools/simlator/frameworks/runtime-src/proj.android/obj. It worked for me, also had to gen-libs again.
1 Like
zx12a1
#3
@anieduard - thanks for taking the time to point this out to me. Gen-libs fixed!
Anytime. I’ve also struggled a lot with them.