Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Mobile Development
  3. Mobile
  4. Error using google_maps_flutter: ^2.5.0 in flutter

Error using google_maps_flutter: ^2.5.0 in flutter

Scheduled Pinned Locked Moved Mobile
androiddebuggingtoolsxmlhelp
9 Posts 5 Posters 4 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Luis M Rojas
    wrote on last edited by
    #1

    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)

    L 1 Reply Last reply
    0
    • L Luis M Rojas

      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)

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      You should try the suggestions in the error messages.

      R 1 Reply Last reply
      0
      • L Lost User

        You should try the suggestions in the error messages.

        R Offline
        R Offline
        Richard Deeming
        wrote on last edited by
        #3

        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

        L J 2 Replies Last reply
        0
        • R Richard Deeming

          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

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          Or just read the error messages ...

          L 1 Reply Last reply
          0
          • L Lost User

            Or just read the error messages ...

            L Offline
            L Offline
            Luis M Rojas
            wrote on last edited by
            #5

            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

            L A 2 Replies Last reply
            0
            • L Luis M Rojas

              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

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #6

              The issue appears to be with the Google maps plugin, so the best place to ask for help woiuld be the Flutter web site.

              1 Reply Last reply
              0
              • R Richard Deeming

                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

                J Offline
                J Offline
                jschell
                wrote on last edited by
                #7

                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.

                L 1 Reply Last reply
                0
                • J jschell

                  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.

                  L Offline
                  L Offline
                  Lost User
                  wrote on last edited by
                  #8

                  It's an easy thing to do, but the trick is not to tell anyone. :laugh:

                  1 Reply Last reply
                  0
                  • L Luis M Rojas

                    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

                    A Offline
                    A Offline
                    Andre Oosthuizen
                    wrote on last edited by
                    #9

                    Mmmm, use the debugger as all suggested, the answer is in the error - Debugging Flutter apps[^]

                    1 Reply Last reply
                    0
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • World
                    • Users
                    • Groups