Archive 17/01/2023.

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

att

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.

weitjong

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.