Wednesday, 1 May 2019

Android SplitCompatApplication - Doesn't extract native libs

i am using compileSdkVersion 28 and included some prebuilt executable native .so files in Android Studio.

After Building .aab Bundle and generating universal apk from bundle tool locally everything seems to works OK and all native .so files are extracted to /data/app/com.example/lib/armv64-v8a/library.so

But when uploading the bundle to the Play Store or generating apk splits locally and installing it again to my device the .so files are not extracted anymore !

I have added too in my build.gradle :

ndk.abiFilters 'x86', 'x86_64', 'armeabi-v7a', 'arm64-v8a'

and in the app manifest :

android:extractNativeLibs="true"

Also i am using SplitCompatApplication and override it in Application Class and declared in manifest too.



from Android SplitCompatApplication - Doesn't extract native libs

No comments:

Post a Comment