You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm pretty new to this but I've been struggling all night and figure I should probably ask for help!
When I try to run my app on the emulator, I get the error in the title.
From lots and lots of google searching, it seems like it's a compatibility issue with different versions.
I've done my best to research which versions should be compatible but it's still not working.
It seems that location 5.0.3 should work with gradle 8.0 which works with Kotlin 1.8.0.
In pubspec.yaml I have location: ^5.0.3
In gradle-wrapper.properties I have distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-all.zip
In Android/app/build.gradle I have compileSdkVersion 33
Also, I've done 'flutter clean' and 'flutter pub get' and 'flutter upgrade' a LOT, basically every time I tweak one of the version numbers. AFAIK that's not necessary but it doesn't take long so may as well be sure.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, I'm pretty new to this but I've been struggling all night and figure I should probably ask for help!
When I try to run my app on the emulator, I get the error in the title.
From lots and lots of google searching, it seems like it's a compatibility issue with different versions.
I've done my best to research which versions should be compatible but it's still not working.
It seems that location 5.0.3 should work with gradle 8.0 which works with Kotlin 1.8.0.
In pubspec.yaml I have
location: ^5.0.3
In gradle-wrapper.properties I have
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-all.zip
In Android/app/build.gradle I have
compileSdkVersion 33
In Android/build.gradle I have
Can anyone see what I'm doing wrong?
Thanks in advance.
Also, I've done 'flutter clean' and 'flutter pub get' and 'flutter upgrade' a LOT, basically every time I tweak one of the version numbers. AFAIK that's not necessary but it doesn't take long so may as well be sure.
Beta Was this translation helpful? Give feedback.
All reactions