Flet Build APK Issue in New Release #4179
Replies: 17 comments 3 replies
-
pyproject.toml [project] name = "app" authors = [ dependencies = ["flet==0.25.0.dev3526"] [tool.flet] [tool.flet.android.permission] # --android-permissions [tool.flet.deep_linking] [tool.flet.android.deep_linking] [tool.flet.splash] |
Beta Was this translation helpful? Give feedback.
-
Update Flet to 0.25.0.dev3526 https://flet.dev/blog/pyproject-toml-support-for-flet-build-command |
Beta Was this translation helpful? Give feedback.
-
I tried it but I think there is a issue in deep linking |
Beta Was this translation helpful? Give feedback.
-
OK, could you give me a log with |
Beta Was this translation helpful? Give feedback.
-
Okay sure one thing I want to mention here kindly put documentation on new modules introduced in flet pre release like websockets and pillow |
Beta Was this translation helpful? Give feedback.
-
`PS C:\Users\Muddassir Farooq\Desktop\Bonds> flet build apk -v
|
Beta Was this translation helpful? Give feedback.
-
What you get with |
Beta Was this translation helpful? Give feedback.
-
0.25.0.dev3519 |
Beta Was this translation helpful? Give feedback.
-
Upgrade Flet to 3526:
|
Beta Was this translation helpful? Give feedback.
-
`PS C:\Users\Muddassir Farooq\Desktop\Bonds> flet build apk --verbose ( ● ) Generating app icons ⏳...• Creating default icons Android
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Try hex color instead of |
Beta Was this translation helpful? Give feedback.
-
how can we integrate notification permission and send notification in flet latest release |
Beta Was this translation helpful? Give feedback.
-
after running build apk its generating this all things and when i open apk on mobile its showing black screen nothing happens next |
Beta Was this translation helpful? Give feedback.
-
What Android device do you have? Try running on Android simulator? |
Beta Was this translation helpful? Give feedback.
-
I am using Techno Camon 19 Neo |
Beta Was this translation helpful? Give feedback.
-
Screen_Recording_20241018_084922.mp4 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Duplicate Check
Describe the bug
The bug is caused by a missing or incorrectly configured deep_linking attribute in the Flet project build process. Specifically, the build template you're using (flet-build-template) is trying to access a deep_linking configuration, but the attribute is either absent or improperly defined in the context of the project configuration.
The error occurs during the generation of the AndroidManifest.xml file, where deep linking permissions or configurations are required. The build system encounters an issue because it expects a deep_linking object in the context but can't find it, resulting in the following error:
'dict object' has no attribute 'deep_linking'
Code sample
Code
To reproduce
To reproduce the bug, follow these steps:
Prerequisites:
You need a system with latest pre release Flet installed.
Ensure you are using the Flet build template from flet-dev/flet-build-template.
You need to have Flutter, Android SDK, and Cookiecutter installed on your system.
Expected behavior
No response
Screenshots / Videos
Captures
[Upload media here]
Operating System
Windows
Operating system details
Windows 10
Flet version
0.25.0.dev3519
Regression
No, it isn't
Suggestions
No response
Logs
Logs
Additional details
No response
Beta Was this translation helpful? Give feedback.
All reactions