Skip to content
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 #4567

Closed
1 task done
ssseee66 opened this issue Dec 14, 2024 · 1 comment
Closed
1 task done

flet build apk #4567

ssseee66 opened this issue Dec 14, 2024 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@ssseee66
Copy link

Duplicate Check

Describe the bug

These days, the use of p4a to package flet applications into apk suddenly appeared an error, has always been the use of p4a packaging is very stable, but now the packaging environment has not been modified but can not be packaged, flet version 0.24.1

Code sample

/home/feiyuan/.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/feiyuan/.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

To reproduce

flet build apk -vv

Expected behavior

No response

Screenshots / Videos

Snipaste_2024-12-14_17-47-22

Operating System

Linux

Operating system details

Ubuntu 18.04(WSL)

Flet version

0.24.1

Regression

Yes, it used to work in a previous Flet version (please specify the version in additional details)

Suggestions

I need to package the flet application as an apk

Logs

Logs
[Paste your logs here]

Additional details

No response

@ndonkoHenri
Copy link
Contributor

Closing as duplicate of #4564

@ndonkoHenri ndonkoHenri added the duplicate This issue or pull request already exists label Dec 14, 2024
@flet-dev flet-dev locked and limited conversation to collaborators Dec 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants