I am building an Android application using the Flet framework in Python. I am trying to customize the splash screen logo and the app icon, but after building the APK, the app still shows the default Flet logo for both the splash screen and the icon.
I have tried using AI assistants to debug the issue, but the suggestions provided haven't worked so far. I am concerned if there are specific requirements for the .png format or if there are certain limitations in the Flet build process regarding asset support.
My environment:
Framework: Flet (Python)
Target: Android (APK)
Build Tool: flet build apk
What I have tried:
Placing the logo in the assets folder.
Checking if the file path is correct in my code/configuration.
Verifying the .png file is not corrupted.
My Question: What is the correct way to specify a custom logo for the splash screen and the app icon when building a Flet app for Android? Are there specific file naming conventions or directory structures I should follow?