my game is using cocos2dx 2.2.6 I have upgrade the NDK to the the NDKr12 beta1 and try to build my project then I get so many errors at the NdkModule folder and NDK complain that it doesn't found the output file in Ndk Module Path:
cocos2dx/platform/third_party/android/prebuilt/lib*/libs/arm64-v8a/file.a
what it that mean and how to fix it?
Asked
Active
Viewed 2,351 times
1

Dania Delbani
- 816
- 1
- 11
- 27
-
Add RELEASE.txt to your ndk folder. If that doesnt work you may need to use older versions of ndk. – Striker May 12 '16 at 14:15
-
@Striker what should RELEASE.txt contain? – Dania Delbani May 13 '16 at 18:44
-
Just put your version like r12c (64-bit) – Striker May 13 '16 at 22:13
1 Answers
1
I manage to solve it by specific the target architectures at application.mk by adding this line:
APP_ABI := armeabi armeabi-v7a x86

Dania Delbani
- 816
- 1
- 11
- 27
-
-
It worked for me too, but if I want to deploy my game to arm64-8a architecture or something other than what's specified in APP_ABI can I still do that? – Moshe Rabaev Jul 07 '16 at 15:16
-
@MosheRabaev I have added it to Application.mk at proj.android/jni/Application.mk I didn't test this case – Dania Delbani Aug 09 '16 at 09:40
-
1