diff --git a/starboard/android/apk/app/build.gradle b/starboard/android/apk/app/build.gradle index 42cd8f99b736..c8f5cfaa8fb9 100644 --- a/starboard/android/apk/app/build.gradle +++ b/starboard/android/apk/app/build.gradle @@ -174,6 +174,10 @@ android { } } packagingOptions { + doNotStrip "*/arm64-v8a/*.so" + doNotStrip "*/armeabi-v7a/*.so" + doNotStrip "*/x86/*.so" + doNotStrip "*/x86_64/*.so" jniLibs { // extractNativeLibs, which we set, based on evergreenCompatible, in the manifest file, // is deprecated. Gradle asks that useLegacyPackaging be set if extractNativeLibs is diff --git a/starboard/android/apk/app/src/app/AndroidManifest.xml b/starboard/android/apk/app/src/app/AndroidManifest.xml index 0c23b475dceb..d199f577b30e 100644 --- a/starboard/android/apk/app/src/app/AndroidManifest.xml +++ b/starboard/android/apk/app/src/app/AndroidManifest.xml @@ -78,6 +78,8 @@ android:exported="false" android:foregroundServiceType="mediaPlayback"/> + + .