Error using google_maps_flutter: ^2.5.0 in flutter
-
Hello everybody:
I am new in flutter, using flutter version: 3.16.0 a Dart (SDK) 3.2.0
I had checked everything the manuals and forums say (also flutter), but I still have this error:C:\Mapas\mapas\android\app\src\debug\AndroidManifest.xml Error:
uses-sdk:minSdkVersion 19 cannot be smaller than version 20 declared in library [:google_maps_flutter_android] C:\Mapas\mapas\build\google_maps_flutter_android\intermediates\merged_manifest\debug\AndroidManifest.xml as the library might be using APIs not available in 19
Suggestion: use a compatible library with a minSdk of at most 19,
or increase this project's minSdk version to at least 20,
or use tools:overrideLibrary="io.flutter.plugins.googlemaps" to force usage (may lead to runtime failures) -
Hello everybody:
I am new in flutter, using flutter version: 3.16.0 a Dart (SDK) 3.2.0
I had checked everything the manuals and forums say (also flutter), but I still have this error:C:\Mapas\mapas\android\app\src\debug\AndroidManifest.xml Error:
uses-sdk:minSdkVersion 19 cannot be smaller than version 20 declared in library [:google_maps_flutter_android] C:\Mapas\mapas\build\google_maps_flutter_android\intermediates\merged_manifest\debug\AndroidManifest.xml as the library might be using APIs not available in 19
Suggestion: use a compatible library with a minSdk of at most 19,
or increase this project's minSdk version to at least 20,
or use tools:overrideLibrary="io.flutter.plugins.googlemaps" to force usage (may lead to runtime failures) -
If only everyone would RTFEM, there would be a lot fewer questions posted here. :laugh:
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
-
If only everyone would RTFEM, there would be a lot fewer questions posted here. :laugh:
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
-
I had done everything flutter says and nothing at all.
android { │
│ defaultConfig { │
│ minSdkVersion 20 │
│ } │
│ }Nothing happened
Suggestion: use a compatible library with a minSdk of at most 19,
or increase this project's minSdk version to at least 20,
or use tools:overrideLibrary="io.flutter.plugins.googlemaps" to force usage (may lead to runtime failures)Nothing at all, the same error
-
I had done everything flutter says and nothing at all.
android { │
│ defaultConfig { │
│ minSdkVersion 20 │
│ } │
│ }Nothing happened
Suggestion: use a compatible library with a minSdk of at most 19,
or increase this project's minSdk version to at least 20,
or use tools:overrideLibrary="io.flutter.plugins.googlemaps" to force usage (may lead to runtime failures)Nothing at all, the same error
-
If only everyone would RTFEM, there would be a lot fewer questions posted here. :laugh:
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
Sigh...if only I could remember that myself when debugging problems on my own computer I would avoid quite few vexing problems also. I can even remember a few times I invited a co-worker to look over something and when I pointed out the error message, I finally read it, and then understood the problem.
-
Sigh...if only I could remember that myself when debugging problems on my own computer I would avoid quite few vexing problems also. I can even remember a few times I invited a co-worker to look over something and when I pointed out the error message, I finally read it, and then understood the problem.
-
I had done everything flutter says and nothing at all.
android { │
│ defaultConfig { │
│ minSdkVersion 20 │
│ } │
│ }Nothing happened
Suggestion: use a compatible library with a minSdk of at most 19,
or increase this project's minSdk version to at least 20,
or use tools:overrideLibrary="io.flutter.plugins.googlemaps" to force usage (may lead to runtime failures)Nothing at all, the same error
Mmmm, use the debugger as all suggested, the answer is in the error - Debugging Flutter apps[^]