How to publish android app 64 bit cocos creator

Hello everyone I use Cocos Creator V2.1.1, I try to upload an app to the Google store, but it says it must be 64 bit, which I must configure

Configure In gradle.properties:
PROP_APP_ABI = armeabi-v7a: arm64-v8a

Aditional

Compile correctly, but does not allow upload to store

Iā€™m not sure but the issue might be the one listed here, more exactly the APP ABI section, where it says ā€œAttentiionā€. In a nutshell you need to clean the project from within Android Studio, then hit build & compile again with the correct ABI selected. If this doesnā€™t work, rename the .apk to .zip, open it and go into the ā€˜libā€™ folder. If the correct app ABI (arm64) is there, the issue probably isnā€™t related to the ABI. I guess you can try selecting all 3 ABIs and see if then itā€™ll work (clean the project again before doing do). Best of luck!

Thanks for the information, I will try to review it

How is everything? Is the issue fixed?

You must delete build folder. After that, letā€™s recomplie with selection armeabi-v7a & arm64-v8a

1 Like

app/jni/Application.mk

change

APP_ABI := armeabi-v7a

to

APP_ABI := armeabi-v7a arm64-v8a x86 x86_64


gradle.properties

change

PROP_APP_ABI=armeabi-v7a:arm64-v8a:x86

to

PROP_APP_ABI=armeabi-v7a:arm64-v8a

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Good afternoon, it worked correctly, thank you very much