-
Notifications
You must be signed in to change notification settings - Fork 704
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
Android compile error registrar #1643
Comments
same here |
just tested on the master branch example app got the same error so its in the package itself
|
Same with gradle 7.5
|
for anyone who is having the issue you can use my branch until the pr gets merged
|
same |
Oddly. Reverting to |
actually yes it was removed before looks like a commit brought it back |
same issue. even after downgrading to the last working version i.e |
You need to use exact version. Not the open ended with |
@ekuleshov It worked for me, thanks. |
same issue here |
Just got this issue |
same issue here, thanks for your solution |
@abdelaziz-mahdy Yes, this one: 4083ae4 |
The error exists in the new version So I changed the version to be |
Same with gradle 8.11.1
|
Same |
same issue here, happened after running pub upgrade, now reverted back to version 8.1.3 and working fine |
same |
2 similar comments
same |
same |
same problem with 3.24.3 or 3.24.5 |
same here |
1 similar comment
same here |
I did the same thing with a flutter clean and then a flutter pub get and it stopped working. mi gradle: |
same same issue. |
Same here |
it worked, thanks!! do you know what is the difference between 8.1.4 and ^8.1.4 tho? |
please close the issue, too many unnecessary comments coming. |
@RanaUsama20 Yes. |
I don't have a way to limit the comments, and people have mentioned that each one commenting on the same problem or the same fix doesn't help, but people do it anyway I hope the package maintainer merges the pr so we can close this as completed Note: even if I close the issue it won't limit the comments 😅 and won't solve the issue so that's not a solution As a lot of people mentioned Reverting to file_picker: 8.1.4 fixes the issue, or using my branch as you can find at a comment above For newcomers please read the fixes provided above before adding any more comments |
I'm Flutter 3.24.5, It's resolved by using 8.1.4. |
If you're facing build errors related to file_picker or Java/Kotlin version mismatches, here's a solution that worked for me: Step 1: Update file_picker Version Step 2: Update build.gradle File Step 3: Update Gradle Wrapper (If you're using a different Gradle version, update 8.3 accordingly.) Step 4: Update settings.gradle After making these changes, run the following commands: This resolved the issue for me. Let me know if it works for you too! 😊 |
Solution is to update your pubspec.yaml |
Sorry for the noise, I didn't realize the error is in 8.1.5 and removing |
|
you can use this repo i have fixed the issue https://github.com/rufus-op/file_picker replace file_picker: 8.1.5 with file_picker: |
I don't have file_picker in app but still getting same issue |
@AwaisQazii you can override it like this comment since a package is using it in your app
|
My teammate on flutter removed v1 embeddings in this pr #1527 fixing the issue we filed #1526. Is appears that in pull request #1453 the lines we removed were added back in. 5 days ago flutter released 3.27 which was the first stable release to not have the v1 embedding code so any user with this plugin and 3.27 would fail to compile. At first glance this pr appears to address the regression. |
Fixed with 8.1.6. |
Thank you! This worked a treat, until the official release settles EDIT: Upgrading to 8.1.6 resolved this issue. Thanks! |
Thanks!! |
Describe the bug
After upgrading to flutter 3.27 the code fails to compile on android , using
flutter build apk
Platform
Platform OS version
What version did it happen?
How are you picking?
Details to reproduce the issue
Provide all the details to reproduce the issue.
Error Log
Screenshots and/or video
If applicable, add screenshots or video to help explain your problem.
Flutter Version details
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: