1. Are you ready for the Galaxy S20? Here is everything we know so far!

Android Studio MapView Error

Discussion in 'Android Development' started by erenalkan, Nov 12, 2021.

  1. erenalkan

    erenalkan Lurker
    Thread Starter

    Hello, while adding the mapview to the layout, I am encountering the following error. How can I solve it?

    [​IMG]
     



    1. Download the Forums for Android™ app!


      Download

       
  2. Unforgiven

    Unforgiven ...eschew obfuscation...
    Moderator

    I'm not sure if the forum you posted this in originally gets much traffic. I moved it here so folks will see it. :)
     
    erenalkan, olbriar and ocnbrze like this.
  3. James_Watson

    James_Watson Android Enthusiast

    Go File - Project Structure - Dependencies Tab, Add com.google.android.gms
    Then clean and rebuild your project.
     
    mikedt likes this.
  4. erenalkan

    erenalkan Lurker
    Thread Starter

    i did but didn't work. it's give same error again
     
  5. James_Watson

    James_Watson Android Enthusiast

    Upload a screenshot about your project 'Dependencies Tab', please.
     
    mikedt likes this.
  6. erenalkan

    erenalkan Lurker
    Thread Starter

    Delete the dependencies part and build it. when i paste and build again the problem is fixed. Thanks
     
    mikedt and James_Watson like this.
Loading...
Similar Threads - Android Studio MapView
  1. workbench
    Replies:
    2
    Views:
    307
  2. thkl
    Replies:
    2
    Views:
    264
  3. brentc
    Replies:
    1
    Views:
    304
  4. brentc
    Replies:
    3
    Views:
    358
  5. hex1364
    Replies:
    0
    Views:
    311
  6. parthag
    Replies:
    0
    Views:
    282
  7. grellocj
    Replies:
    3
    Views:
    523
  8. Castino
    Replies:
    1
    Views:
    424
  9. PascalAuger
    Replies:
    16
    Views:
    1,187
  10. Dayle Swensen
    Replies:
    7
    Views:
    1,266

Share This Page

Loading...