Compile for x86_64. Android studio cocos 3.17

Hello guys. I have problem. How can I build apk with x86_64 support. Or how build project without x86, only for arm . In gradle prop - PROP_APP_ABI=armeabi-v7a:arm64-v8a . In Application mk - APP_ABI := armeabi-v7a arm64-v8a . But after build in apk there are lib for armeabi-v7a,arm64-v8a and x86 too. After when I publish APK on Google Play - I have message that this app don’t have 64 bit support. When I build project with this params armeabi-v7a:arm64-v8a:x86:x86_64 - I have error and cant compile for x86_64. Please help me.

check in grade properties
PROP_APP_ABI=armeabi-v7a:arm64-v8a

Application.mk file
APP_ABI := armeabi-v7a arm64-v8a

I am doing like this its working for me for arm architecture 32 and 64 bit

Check out my post. I’m saying that I have the same parameters as you. But after the build, the x86 library also appears.

publish android with x86_64, cocos 3.17.2
Application.mk

Before

APP_ABI := armeabi-v7a

Change

APP_ABI := armeabi-v7a arm64-v8a x86 x86_64


gradle.properties(Project Properties)

Before

PROP_APP_ABI=armeabi-v7a:arm64-v8a:x86

Change

PROP_APP_ABI=armeabi-v7a:arm64-v8a

I ref from “Devkoboso page”

1 Like

@vtpCocos does it build successfully?
I know cocos doesn’t support x86_64 currently.

1 Like

Hey @smappl did you solve this?