Closed Bojan227 closed 2 months ago
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
i've the same problem. when I was upgrade flutter sdk to 3.2.4
@UnluckyY1 Thanks for the info! 👍
I have the same problem. when I was upgrade flutter sdk to 3.2.4... thx.
@Bojan227 I've a question. can you execute flutter build appbundle and it's work ok ? and flutter build apk throw exception?
@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.
you must "flutter run --release --verbose" for more details
@daadu also seeing problems with wifi_iot after upgrade to Flutter 3.24 on mac and iOS
Thanks for reporting the issue and apologies for delay in responding.
There is a PR filled on https://github.com/flutternetwork/WiFiFlutter/pull/398 - will do the same for wifi_iot
as well.
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.
Hey @daadu If i run the app with flutter run --release I'm receiving the following error messages.
Flutter doctor