How to prevent android build from including x86 and x64 libs?

#1

I have noticed that x86 and x86_64 lib exist in the lib folder of apk, how can prevent it?
This will make the apk size very big.

0 Likes

#2

Use the ANDROID_ABI Gradle parameter. If it is set, it is expected to be a comma separated list of ABI without any white spaces. So, list all the ABIs you need.

2 Likes