Skip to content

Commit e2f7519

Browse files
Android fixes to make it work with Play Store installations (#10)
1 parent e24ed66 commit e2f7519

File tree

14 files changed

+86
-43
lines changed

14 files changed

+86
-43
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.2.3
2+
3+
* Android fixes to make it work on some devices when installed via Play Store.
4+
15
## 0.2.2
26

37
* Exclude `x86` from supported ABIs.

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
group 'com.flet.serious_python'
2-
version '0.2.2'
2+
version '0.2.3'
33

44
buildscript {
55
repositories {

example/flask_example/README.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
# flask_example
22

3-
A new Flutter project.
3+
Important: to make `serious_python` work in your own Android app:
44

5-
## Getting Started
5+
If you build an App Bundle Edit `android/gradle.properties` and add the flag:
66

7-
This project is a starting point for a Flutter application.
7+
```
8+
android.bundle.enableUncompressedNativeLibs=false
9+
```
810

9-
A few resources to get you started if this is your first Flutter project:
1011

11-
- [Lab: Write your first Flutter app](https://docs.flutter.dev/get-started/codelab)
12-
- [Cookbook: Useful Flutter samples](https://docs.flutter.dev/cookbook)
12+
If you build an APK Make sure `android/app/src/AndroidManifest.xml` has `android:extractNativeLibs="true"` in the `<application>` tag.
1313

14-
For help getting started with Flutter development, view the
15-
[online documentation](https://docs.flutter.dev/), which offers tutorials,
16-
samples, guidance on mobile development, and a full API reference.
14+
For more information, see the [public issue](https://issuetracker.google.com/issues/147096055).

example/flask_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="flask_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"
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
org.gradle.jvmargs=-Xmx1536M
22
android.useAndroidX=true
33
android.enableJetifier=true
4+
android.bundle.enableUncompressedNativeLibs=false

example/flask_example/pubspec.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ packages:
281281
path: "../.."
282282
relative: true
283283
source: path
284-
version: "0.2.2"
284+
version: "0.2.3"
285285
sky_engine:
286286
dependency: transitive
287287
description: flutter

example/flet_example/README.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
# flet_example
22

3-
A new Flutter project.
3+
Important: to make `serious_python` work in your own Android app:
44

5-
## Getting Started
5+
If you build an App Bundle Edit `android/gradle.properties` and add the flag:
66

7-
This project is a starting point for a Flutter application.
7+
```
8+
android.bundle.enableUncompressedNativeLibs=false
9+
```
810

9-
A few resources to get you started if this is your first Flutter project:
1011

11-
- [Lab: Write your first Flutter app](https://docs.flutter.dev/get-started/codelab)
12-
- [Cookbook: Useful Flutter samples](https://docs.flutter.dev/cookbook)
12+
If you build an APK Make sure `android/app/src/AndroidManifest.xml` has `android:extractNativeLibs="true"` in the `<application>` tag.
1313

14-
For help getting started with Flutter development, view the
15-
[online documentation](https://docs.flutter.dev/), which offers tutorials,
16-
samples, guidance on mobile development, and a full API reference.
14+
For more information, see the [public issue](https://issuetracker.google.com/issues/147096055).

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"
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
org.gradle.jvmargs=-Xmx1536M
22
android.useAndroidX=true
33
android.enableJetifier=true
4+
android.bundle.enableUncompressedNativeLibs=false

example/flet_example/pubspec.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ packages:
486486
path: "../.."
487487
relative: true
488488
source: path
489-
version: "0.2.2"
489+
version: "0.2.3"
490490
shake:
491491
dependency: transitive
492492
description:

0 commit comments

Comments
 (0)