Andrew Boes
Andrew Boes

Reputation: 2043

Google map on android only shows grid.

I have a problem where my map activity only shows the grid and is not downloading map tiles.

What I've checked:

  1. I have the api key that I got from here.
  2. I've added the reference to my android manifest.
  3. My device has internet (and google maps works on the device).

In LogCat I am getting the following messages from MapActivity

  1. 07-28 20:25:19.271: INFO/MapActivity(550): Handling network change notification:CONNECTED

  2. 07-28 20:25:19.271: ERROR/MapActivity(550): Couldn't get connection factory client

What am I missing? How can check to see that my key is the problem?

Upvotes: 1

Views: 1877

Answers (2)

Andrew Boes
Andrew Boes

Reputation: 2043

The issue was that I placed the "android.permission.INTERNET" line inside the "application" area of the Manifest file.

Upvotes: 1

Waza_Be
Waza_Be

Reputation: 39558

You have to add a Debug key:

http://code.google.com/android/add-ons/google-apis/mapkey.html#getdebugfingerprint

That's indeed really annoying as you have 2 different keys to handle and switch.. ( and sometimes forget to make an update on the Market with your debug key!)

Upvotes: 2

Related Questions