[12:04:03] No additional Flutter dependencies!
[12:04:11] Created Flutter bootstrap project from gh:flet-dev/flet-build-template with ref 0.25.0 ✅
Copying C:\Users\HP\Desktop\bee\venv\testapkavenv\assets\icon.png to
C:\Users\HP\Desktop\bee\venv\testapkavenv\build\flutter\images
Customized app icons and splash images ✅
Run subprocess: ['C:\\Users\\HP\\flutter\\flutter\\bin\\dart.BAT', 'run', 'flutter_launcher_icons']
( ● ) Generating app icons ⏳... Resolving dependencies in `C:\Users\HP\Desktop\bee\venv\testapkavenv\build\flutter`.( ● ) Generating app icons ⏳... (2.5s)
( ● ) Generating app icons ⏳...
( ● ) Generating app icons ⏳... Got dependencies in `C:\Users\HP\Desktop\bee\venv\testapkavenv\build\flutter`.
(● ) Generating app icons (3.3s)
Built flutter_launcher_icons:flutter_launcher_icons.
( ● ) Generating app icons ⏳... ════════════════════════════════════════════
FLUTTER LAUNCHER ICONS (v0.13.1)
════════════════════════════════════════════
( ● ) Generating app icons ⏳... • Creating default icons Android
( ● ) Generating app icons ⏳... • Overwriting the default Android launcher icon with a new icon
(● ) Generating app icons ⏳... • Overwriting default iOS launcher icon with new icon
( ●) Generating app icons ⏳... Creating Icons for Web...
( ● ) Generating app icons ⏳... Creating Icons for Windows...
( ●) Generating app icons ⏳... Creating Icons for MacOS...
(● ) Generating app icons ⏳...
✓ Successfully generated launcher icons
[12:04:24] Generated app icons ✅
Run subprocess: ['C:\\Users\\HP\\flutter\\flutter\\bin\\dart.BAT', 'run', 'flutter_native_splash:create']
( ● ) Generating splash screens ⏳...
Built flutter_native_splash:create.
( ●) Generating splash screens ⏳... [Android] Creating default splash images
( ● ) Generating splash screens ⏳... [Android] Creating dark mode splash images
( ●) Generating splash screens ⏳... [Android] Creating default android12splash images
( ● ) Generating splash screens ⏳... [Android] Creating dark mode android12splash images
( ● ) Generating splash screens ⏳... [Android] Updating launch background(s) with splash image path...
( ● ) Generating splash screens ⏳... [Android] - android/app/src/main/res/drawable/launch_background.xml
( ● ) Generating splash screens ⏳... [Android] - android/app/src/main/res/drawable-night/launch_background.xml
[Android] - android/app/src/main/res/drawable-v21/launch_background.xml
[Android] - android/app/src/main/res/drawable-night-v21/launch_background.xml
[Android] Updating styles...
[Android] - android/app/src/main/res/values-v31/styles.xml
[Android] - android/app/src/main/res/values-night-v31/styles.xml
[Android] - android/app/src/main/res/values/styles.xml
[Android] - android/app/src/main/res/values-night/styles.xml
( ● ) Generating splash screens ⏳... [iOS] Creating images
( ● ) Generating splash screens ⏳... [iOS] Creating dark mode images
( ● ) Generating splash screens ⏳... [iOS] Updating ios/Runner/Info.plist for status bar hidden/visible
( ● ) Generating splash screens ⏳... [Web] Creating images
( ● ) Generating splash screens ⏳... [Web] Creating images
( ● ) Generating splash screens ⏳... [Web] Creating background images
[Web] Creating CSS
( ● ) Generating splash screens ⏳... [Web] Updating index.html
✅ Native splash complete.
Now go finish building something awesome! 💪 You rock! 🤘🤩
Like the package? Please give it a 👍 here: https://pub.dev/packages/flutter_native_splash
[12:04:35] Generated splash screens ✅
Run subprocess: ['C:\\Users\\HP\\flutter\\flutter\\bin\\dart.BAT', 'run', 'serious_python:main', 'package',
'C:\\Users\\HP\\Desktop\\bee\\venv\\testapkavenv', '--platform', 'Android', '--requirements',
'-r,C:\\Users\\HP\\Desktop\\bee\\venv\\testapkavenv\\requirements.txt', '--exclude', 'build', '--cleanup']
( ● ) Packaging Python app (1.6s)
Built serious_python:main.
( ●) Packaging Python app ⏳... Running package command
Extra PyPi indexes: [https://pypi.flet.dev]
Created temp directory: C:\Users\HP\AppData\Local\Temp\serious_python_temp5bf15fd3
Copying Python app from C:\Users\HP\Desktop\bee\venv\testapkavenv to a temp directory
( ● ) Packaging Python app ⏳... Cleanup app
Configured Android/arm64-v8a platform with sitecustomize.py
Installing [-r, C:\Users\HP\Desktop\bee\venv\testapkavenv\requirements.txt] with pip command to C:\Users\HP\Desktop\bee\venv\testapkavenv\build\site-packages\arm64-v8a
( ● ) Packaging Python app ⏳... Cleanup installed packages
( ● ) Packaging Python app ⏳... Configured Android/armeabi-v7a platform with sitecustomize.py
Installing [-r, C:\Users\HP\Desktop\bee\venv\testapkavenv\requirements.txt] with pip command to C:\Users\HP\Desktop\bee\venv\testapkavenv\build\site-packages\armeabi-v7a
( ● ) Packaging Python app ⏳... Cleanup installed packages
Configured Android/x86_64 platform with sitecustomize.py
Installing [-r, C:\Users\HP\Desktop\bee\venv\testapkavenv\requirements.txt] with pip command to C:\Users\HP\Desktop\bee\venv\testapkavenv\build\site-packages\x86_64
( ● ) Packaging Python app ⏳... Cleanup installed packages
Configured Android/x86 platform with sitecustomize.py
Installing [-r, C:\Users\HP\Desktop\bee\venv\testapkavenv\requirements.txt] with pip command to C:\Users\HP\Desktop\bee\venv\testapkavenv\build\site-packages\x86
(● ) Packaging Python app ⏳... Cleanup installed packages
Creating app archive at C:\Users\HP\Desktop\bee\venv\testapkavenv\build\flutter\app/app.zip from a temp directory
( ● ) Packaging Python app ⏳... Writing app archive hash to C:\Users\HP\Desktop\bee\venv\testapkavenv\build\flutter\app/app.zip.hash
( ● ) Packaging Python app ⏳... Deleting temp directory
[12:04:53] Packaged Python app ✅
Run subprocess: ['C:\\Users\\HP\\flutter\\flutter\\bin\\flutter.BAT', 'build', 'apk']
( ● ) Building .apk for Android ⏳... (1.3s)
( ● ) Building .apk for Android ⏳...
( ● ) Building .apk for Android ⏳... collection 1.18.0 (1.19.0 available)
fl_chart 0.68.0 (0.69.0 available)
flutter_launcher_icons 0.13.1 (0.14.1 available)
flutter_lints 2.0.3 (5.0.0 available)
http_parser 4.0.2 (4.1.0 available)
js 0.6.7 (0.7.1 available)
lints 2.1.1 (5.1.0 available)
material_color_utilities 0.11.1 (0.12.0 available)
meta 1.15.0 (1.16.0 available)
screen_retriever 0.1.9 (0.2.0 available)
sensors_plus 4.0.2 (6.0.1 available)
sensors_plus_platform_interface 1.2.0 (2.0.0 available)
shelf 1.4.1 (1.4.2 available)
toml 0.15.0 (0.16.0 available)
url_strategy 0.2.0 (0.3.0 available)
! wakelock_plus 1.2.8 (overridden)
! web 1.1.0 (overridden)
web_socket_channel 2.4.5 (3.0.1 available)
window_manager 0.3.9 (0.4.2 available)
Got dependencies!
( ● ) Building .apk for Android ⏳... 17 packages have newer versions incompatible with dependency constraints.
Try `flutter pub outdated` for more information.
( ● ) Building .apk for Android ⏳...
Font asset "CupertinoIcons.ttf" was tree-shaken, reducing it from 257628 to 209160 bytes (18.8% reduction). Tree-shaking can be disabled by providing the --no-tree-shake-icons flag when building your app.
Font asset "MaterialIcons-Regular.otf" was tree-shaken, reducing it from 1645184 to 1261080 bytes (23.3% reduction). Tree-shaking can be disabled by providing the --no-tree-shake-icons flag when building your app.
( ● ) Building .apk for Androi 260,2s
(● ) Building .apk for Android ⏳... ✓ Built build\app\outputs\flutter-apk\app-release.apk (59.1MB)
[12:09:22] Built .apk for Android ✅
Copying build output from:
C:\Users\HP\Desktop\bee\venv\testapkavenv\build\flutter\build\app\outputs\flutter-apk\*
Copied build to build\apk directory ✅
Successfully built your .apk for Android! 🥳 Find it in build\apk directory. 📁
Duplicate Check
Describe the bug
.apk builded by new
flet buildcommand introduced in pre release 0.25.0.dev3514 doesn't work on real android device or emulator.App opens for few seconds, and then closes
Code sample
Code
To reproduce
flet buildcommandExpected behavior
App opening without immediately closing
Screenshots / Videos
Captures
untitled.webm
Operating System
Windows
Operating system details
Windows 11 Pro
Flet version
0.25.0.dev3514
Regression
Yes, it used to work in a previous Flet version (please specify the version in additional details)
Suggestions
I think there something wrong with python .so file but, I'm not sure
Logs
Logs
Additional details
I don't know if this is a know issue, but I think it's better to tell about it before final release