Thursday, June 30, 2022
HomeGame DevelopmentGenerate 64-bit - cocos2d-x - Cocos Boards

Generate 64-bit – cocos2d-x – Cocos Boards


Hello, i’m very new to Cocos, i’m engaged on an entire challenge (i didn’t write it’s code) i need to publish it to google, however when i add .abb it says “This launch shouldn’t be compliant with the Google Play 64-bit requirement” so i’m attempting so as to add 64-bit to the challenge, right here is my jniLibs:

i attempted
(app/construct.grade) ndk.abiFilters ‘armeabi-v7a’ ,‘arm64-v8a’
(Utility.mk) APP_ABI := armeabi-v7a arm64-v8a

however my jniLibs folder nonetheless lacking “arm64-v8a”

how i can generate arm64-v8a to the challenge ? (i’ve the android challenge solely, engaged on android studio)


In your challenge’s gradle.properties, PROP_APP_ABI add arm64-v8a and take away arm, armv7.

I did, however this error got here out

E/AndroidRuntime: FATAL EXCEPTION: principal
Course of: com.mkhdom.foxgame, PID: 8463
java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file “/data/app/com.mkhdom.foxgame-PrGPqlEqfdrg08mco9kDjg==/base.apk”],nativeLibraryDirectories=[/data/app/com.mkhdom.foxgame-PrGPqlEqfdrg08mco9kDjg==/lib/arm64, /system/lib64, /vendor/lib64]]] couldn’t discover “libplayer.so”
at java.lang.Runtime.loadLibrary0(Runtime.java:1012)
at java.lang.System.loadLibrary(System.java:1669)
at com.mkhdom.foxgame.PTPlayer.(PTPlayer.java:104)
at java.lang.Class.newInstance(Native Methodology)
at android.app.AppComponentFactory.instantiateActivity(AppComponentFactory.java:69)
at android.app.Instrumentation.newActivity(Instrumentation.java:1215)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2869)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3086)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1816)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.principal(ActivityThread.java:6718)
at java.lang.mirror.Methodology.invoke(Native Methodology)
at com.android.inner.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:491)
at com.android.inner.os.ZygoteInit.principal(ZygoteInit.java:858)
I/Course of: Sending sign. PID: 8463 SIG: 9

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments