-
Notifications
You must be signed in to change notification settings - Fork 464
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flet --build apk
command not working in version 0.25.x
#4564
Comments
I'm getting the same filepicker package error with flet 25.1. can't build APK or AAB |
I was compiling normal but I updated the flutter and when compiling I get that same filepicker error on mac how could it be fixed |
Add these lines to your pyproject.toml file [tool.flet.flutter.pubspec.dependency_overrides] |
It's working, thanks :) |
Thanks for the solution and feedback. Upstream issue: miguelpruivo/flutter_file_picker#1643 |
Updated app build template with Weird, I'm getting "registrar" error again with |
Duplicate Check
Describe the bug
/home/runner/.pub-cache/hosted/pub.dev/file_picker-8.1.5/android/src/main/java/com/mr/flutter/plugin/filepicker/FilePickerPlugin.java:257: error: cannot find symbol
if (registrar != null) {
^
symbol: variable registrar
location: class FilePickerPlugin
/home/runner/.pub-cache/hosted/pub.dev/file_picker-8.1.5/android/src/main/java/com/mr/flutter/plugin/filepicker/FilePickerPlugin.java:260: error: cannot find symbol
registrar.addActivityResultListener(this.delegate);
^
symbol: variable registrar
location: class FilePickerPlugin
2 errors
3 warnings
FAILURE: Build failed with an exception.
Execution failed for task ':file_picker:compileReleaseJavaWithJavac'.
Code sample
Code
To reproduce
No, Details
Expected behavior
No response
Screenshots / Videos
Captures
[Upload media here]
Operating System
Linux
Operating system details
ubuntu-latest
Flet version
0.25.0
Regression
Yes, it used to work in a previous Flet version (please specify the version in additional details)
Suggestions
No response
Logs
Logs
Additional details
The last version I used that
flet --build
was working is = 0.24.1The commands I used to build the flet app
The text was updated successfully, but these errors were encountered: