Hardy
Hardy

Reputation: 2606

Google Map not Showing Using google map v2

I have the source code of a signed apk, in that code it was not showing google map.

I got the error that check either key exist or not or check if you have enabled google map v2 or not

I tried it to creating a new account but it shows same error, how can I make the map show up?

Following is the error:-

Upvotes: 1

Views: 175

Answers (2)

Oscar LT
Oscar LT

Reputation: 797

In google api console, first you have to activate the "Google Maps API v2". Then generate your ssha in your computer, then copy the code result and the package of your app: (xxxxx;packagename). This generate the API KEY and put it in your app's place (strings.xml, manifest.xml...)

I know that seems obvious but sometimes the errors are in the simplest things.

I hope this help you.

Upvotes: 1

Kushal
Kushal

Reputation: 8478

May be you have not enabled Google Maps Android API v2 for your api key

Login to

`Google Developer Console` -> Left Panel -> APIs and Auth ->
> APIs -> Goto Enabled APIs on top -> Enable Google Maps API V2

For getting details of your old keys,

Goto APIs and Auth ->
> Credentials -> You can see every key generated in past by this user

Upvotes: 4

Related Questions