AdvancedAndroid_Shushme icon indicating copy to clipboard operation
AdvancedAndroid_Shushme copied to clipboard

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

Open devutsav opened this issue 7 years ago • 14 comments

Tested on Android 6 device

devutsav avatar Jun 30 '17 20:06 devutsav

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

linyse2001 avatar Jul 05 '17 11:07 linyse2001

Yes, same is happening in my device also.

devutsav avatar Jul 05 '17 16:07 devutsav

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

linyse2001 avatar Jul 06 '17 04:07 linyse2001

linyse2001 can you please elaborate

miti1 avatar Aug 13 '17 11:08 miti1

@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

cHunter12 avatar Aug 31 '17 13:08 cHunter12

@cHunter12 solved my problem!

aceisScope avatar Sep 07 '17 10:09 aceisScope

Solved my problem too!!. Thanks.

Besong avatar Jan 31 '18 11:01 Besong

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

ikitaikita avatar Mar 16 '18 09:03 ikitaikita

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

pavankumarsjp avatar Mar 26 '18 05:03 pavankumarsjp

@cHunter12 worked for me! Thanks.

osaaroh avatar Aug 10 '18 18:08 osaaroh

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

fede118 avatar May 02 '19 20:05 fede118

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

morbidod avatar Jul 08 '19 13:07 morbidod

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

yashrode774 avatar Sep 21 '19 06:09 yashrode774

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

thanks so much

Eslam-Gad avatar Dec 01 '19 19:12 Eslam-Gad