Duplicate Check
Describe the bug
Running flet build apk -v on Windows without Android SDK fails to install the Android SDK, because the installation process does not allow typing y to accept the necessary licenses.
In addition, the process reports "Android SDK installed" which is quite misleading.
Code sample
flet build apk -v
To reproduce
Run the build command on a Windows computer without Android SDK installed
Expected behavior
It would be nice, if either:
- the process does by itself gives the necessary permissions
- there is an option, like
flet build apk -y that automatically accepts the licenses during the installation, and that this switch is documented in the "Packaging app for Android" documentation
- the installation process does allow for manually accepting the licenses
Screenshots / Videos
Operating System
Windows
Operating system details
11
Flet version
0.85
Regression
I'm not sure / I don't know
Suggestions
No response
Logs
Logs
Additional details
A part of the Android APK is installed, which allowed me to run the sdkmanager.bat to accept the licenses afterward, which finally solved this issue for me.
Duplicate Check
Describe the bug
Running
flet build apk -von Windows without Android SDK fails to install the Android SDK, because the installation process does not allow typingyto accept the necessary licenses.In addition, the process reports "Android SDK installed" which is quite misleading.
Code sample
flet build apk -vTo reproduce
Run the build command on a Windows computer without Android SDK installed
Expected behavior
It would be nice, if either:
flet build apk -ythat automatically accepts the licenses during the installation, and that this switch is documented in the "Packaging app for Android" documentationScreenshots / Videos
Operating System
Windows
Operating system details
11
Flet version
0.85
Regression
I'm not sure / I don't know
Suggestions
No response
Logs
Logs
[Paste your logs here]Additional details
A part of the Android APK is installed, which allowed me to run the
sdkmanager.batto accept the licenses afterward, which finally solved this issue for me.