Skip to content

Commit 300cd94

Browse files
committed
flet_example/android: extractNativeLibs=true (match bridge_example)
serious_python_android ships libpythonbundle.so / libpythonsitepackages.so which are ZIP archives masquerading as .so files (so they ride the standard jniLibs packaging path). AGP 8.x defaults to NOT extracting native libs out of the APK at install time, leaving them inaccessible as on-disk files — which serious_python_android.dart's run() needs. Setting `android:extractNativeLibs="true"` on the <application> tag restores the pre-AGP-8 behavior; matches the same setting in bridge_example/android/app/src/main/AndroidManifest.xml which has been green on Android.
1 parent fb53f65 commit 300cd94

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/serious_python/example/flet_example/android/app/src/main/AndroidManifest.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
<application
33
android:label="flet_example"
44
android:name="${applicationName}"
5-
android:icon="@mipmap/ic_launcher">
5+
android:icon="@mipmap/ic_launcher"
6+
android:extractNativeLibs="true">
67
<activity
78
android:name=".MainActivity"
89
android:exported="true"

0 commit comments

Comments
 (0)