Xamarin enableUncompressedNativeLibs setting for the bundle „aab” format so that .so files will be unpacked to the „lib” directory
.csproj
1 2 3 |
<PropertyGroup> <AndroidBundleConfigurationFile>BundleConfig.json</AndroidBundleConfigurationFile> </PropertyGroup> |
AndroidManifest.xml
1 |
android:extractNativeLibs="true" |
Add new file BundleConfig.json
1 2 3 4 5 6 7 |
{ "optimizations": { "uncompress_native_libraries": { "enabled": false } } } |
https://stackoverflow.com/questions/5129090/how-to-edit-csproj-file