Google maps are not displayed on the Android device.

So my problem is that google maps are not showing on my Android device that uses 3.2 API

I already tried to make most of not all the offers that I found on the Internet, looking for a solution to this problem.

I have <uses-permission android:name="android.permission.INTERNET"/>in my manifest.

I followed Google’s written procedure to create a signed key ( http://developer.android.com/tools/publishing/app-signing.html#setup ) and received the specified key and placed it in the layout android:apiKey="0R8lbu8yQL1Wgw-13s5sUBXZXusi4mEY3EhqWWw". Still, I see gray tiles instead of a map .

I know that the debug key works on the AVD, but not on the Android device, while the signed key should work on the device, not the AVD.

I am ready to try another step-by-step procedure to make this work, and if this happens, I will be forever grateful.

Please, help! Thank!

DECISION:

There was a wrong apk installation on the device. I had to do:

adb install <your-file-name>.apk

in console

EDIT:

Manifest File

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.googlemaps"
android:versionCode="1"
android:versionName="1.0" >

<uses-sdk
    android:minSdkVersion="8"
    android:targetSdkVersion="15" />
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>



<application
    android:icon="@drawable/ic_launcher"
    android:label="@string/app_name"
    android:theme="@style/AppTheme">

    <uses-library android:name="com.google.android.maps" />

    <activity
        android:name=".StartActivity"
        android:label="@string/title_activity_start">

        <intent-filter>
            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>

    </activity>


    <activity
        android:name=".MainActivity"
        android:label="@string/title_activity_main" >

    </activity>


    <service
      android:name=".WorldWideMapService"
      android:process=":remote">
      <intent-filter>
        <action
          android:name="com.example.googlemaps.WorldWideMapService" />
      </intent-filter>
    </service>

</application>

+5
source share
2 answers

I want to correct you by the sign of the application and display the api key.

, default api key avd, . , api Signature KeyStore, , , , api . , google map api api. Google , , - , , api .

, , , , api .

, , @Raju.

+5

<uses-library android:name="com.google.android.maps" />
+1

All Articles