Our app supports 7 different architectures. We have a native library which we are using in our java code. When we build a single APK its size reach the 50MB limit because we have 7 instances of the native library packed into the APK. Each instance of the library after compilation is about 10MB.
We don't want to use the multiple APKs method to solve it because it's hard to manage more than 1 APK.
We thought to use the expansion method but we don't know if it possible. We want to pack all the native libraries in a zip and upload it as an expansion to google and then in runtime to use the loadLibrary method in order to load the appropriate library. Does it possible?
Feel free to suggest any other solution that you think it might be suitable.
Thanks.