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

Error after upgrading to Flutter 3.24.0 and dart sdk 3.5.0 #397

Closed
Bojan227 opened this issue Aug 9, 2024 · 10 comments · Fixed by #398
Closed

Error after upgrading to Flutter 3.24.0 and dart sdk 3.5.0 #397

Bojan227 opened this issue Aug 9, 2024 · 10 comments · Fixed by #398

Comments

@Bojan227
Copy link

Bojan227 commented Aug 9, 2024

Hey @daadu
If i run the app with flutter run --release I'm receiving the following error messages.

image
image
image
image

Flutter doctor
image

@UnluckyY1
Copy link
Contributor

UnluckyY1 commented Aug 12, 2024

Occurs after upgrade flutter to 3.24.

Roll flutter back to 3.22 may solve it.

With latest flutter 3.24, update the compileSdkVersion to 31 or higher like the commit here will fix this, too:

Additionally, change it's dependency and your app's dependency.

Also the built android libs should be saved in android/src/main/jniLibs.

Or use my fork:

wifi_scan:
   git:
      url: https://github.com/UnluckyY1/WiFiFlutter.git
      path: packages/wifi_scan
      ref: bbb8c4e

@carlos00027
Copy link

i've the same problem. when I was upgrade flutter sdk to 3.2.4

@Bojan227
Copy link
Author

@UnluckyY1 Thanks for the info! 👍

@dt-ebermudez
Copy link

I have the same problem. when I was upgrade flutter sdk to 3.2.4... thx.

@carlos00027
Copy link

@Bojan227 I've a question. can you execute flutter build appbundle and it's work ok ? and flutter build apk throw exception?

@Bojan227
Copy link
Author

@carlos00027 I've used flutter run --release and I've got the errors above.
The app was working okay on my emulator if i run the app with flutter run --debug for example.

@GHAMDANdev
Copy link

you must "flutter run --release --verbose" for more details

@JaredHorwitz
Copy link

JaredHorwitz commented Aug 26, 2024

@daadu also seeing problems with wifi_iot after upgrade to Flutter 3.24 on mac and iOS

@daadu
Copy link
Member

daadu commented Aug 27, 2024

Thanks for reporting the issue and apologies for delay in responding.

There is a PR filled on #398 - will do the same for wifi_iot as well.

@daadu
Copy link
Member

daadu commented Aug 27, 2024

The fix has landed on pub.dev with:

  • wifi_iot: ^0.3.19+1
  • wifi_scan: ^0.4.1+1

@Bojan227 Thank you for reporting the bug, check yourself in the CONTRIBUTORS.md file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants