'Missing .so file lib when building in App Bundle
I'm trying to release an app on the Playstore that includes .so lib files. When I try to debug it, the app works fine. But when I try to release it and upload it on the PlayStore via .aab and install it, my app can't find the .so file that I put in the Jnilibs folder. It says
.so file Not Found
I tried many solutions (ndk, abifilters, split, etc.) but nothing worked. I'm using Android Studio arctic fox 2020.3.1 version.
Solution 1:[1]
Finally I found the solution:
Just Put this code in your gradle.properties
android.bundle.enableUncompressedNativeLibs=false
And problem solved all lib that you input in jnilibs will be included once your app has been live in PlayStore and installed by the users :)
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | hiddeneyes02 |
