udacity / AdvancedAndroid_Shushme

136 stars 367 forks source link

The map is not loading properly on pressing the Add new location button #5

Open devutsav opened 7 years ago

devutsav commented 7 years ago

Tested on Android 6 device

linyse2001 commented 7 years ago

Some problem for me with Android version 6.0.1. When i click on the Add New Location Button, the map just shown for 1~2 seconds then jump back to the mainActivity

devutsav commented 7 years ago

Yes, same is happening in my device also.

linyse2001 commented 7 years ago

I found the solution for this problem and now my map can be shown. I got the solution from Google.

  1. Make sure that you have enabled place API android. Make sure you don't select place API without android.
  2. In manifest file, make sure you include the map api string. My problem was that I change the string to map v2. When I changed it back it resolved my problem
miti1 commented 7 years ago

linyse2001 can you please elaborate

cHunter12 commented 7 years ago

@miti1 I had the same issue, the problem was I had pulled down a new exercise branch so needed to re-add my API key to the manifest file. Hope that helps

aceisScope commented 7 years ago

@cHunter12 solved my problem!

Besong commented 6 years ago

Solved my problem too!!. Thanks.

ikitaikita commented 6 years ago

Solved the same problem by enabling Google Places Api for Android in the Google Console.

pavankumarsjp commented 6 years ago

When I add a location the app crashes please help me. Thank you

osaaroh commented 6 years ago

@cHunter12 worked for me! Thanks.

fede118 commented 5 years ago

So the way I fixed it is that the google API key in the google page has a space at the end, and when I clicked the "copy to clipboard" button that the page provides it didnt copy that last space, and since visually it looked the same it took a while for me to notice the difference, but is working now! hope it helps someone, I struggled for a good hour or more

morbidod commented 5 years ago

@fede118 Thanks, it fixed the issue for me as well

yashrode774 commented 5 years ago

while copying the Google API key it's not copying the last space. spend nearly a day over it.

Eslam-Gad commented 4 years ago

while copying the Google API key it's not copying the last space. spend nearly a day over it.

thanks so much