android - Error- Could not contact to google servers -
with reference previous error link1
i want able move 1 step ahead. facing 2 new errors.
04-05 14:24:27.156: e/google maps android api(32366): authorization failure. 04-05 14:24:27.966: e/google maps android api(32366): failed load map. not contact google servers.
this important content manifest.xml file
<permission android:name="com.example.task.permission.maps_receive" android:protectionlevel="signature"/> <uses-permission android:name="com.example.task.permission.maps_receive"/> <uses-permission android:name="android.permission.internet"/> <uses-permission android:name="android.permission.access_wifi_state" /> <uses-permission android:name="android.permission.access_network_state"/> <uses-permission android:name="android.permission.write_external_storage"/> <uses-permission android:name="com.google.android.providers.gsf.permission.read_gservices"/> <uses-permission android:name="android.permission.access_coarse_location"/> <uses-permission android:name="android.permission.access_fine_location"/> <uses-feature android:glesversion="0x00020000" android:required="true"/> <uses-sdk android:minsdkversion="8" android:targetsdkversion="15" /> <application android:icon="@drawable/ic_launcher" android:label="@string/app_name" android:theme="@style/apptheme" > <activity android:name=".mainactivity" android:label="@string/title_activity_main" > <intent-filter> <action android:name="android.intent.action.main" /> <category android:name="android.intent.category.launcher" /> </intent-filter> </activity> <meta-data android:name="com.google.android.maps.v2.api_key" android:value="_my_api_key_goes_in_here_"/> </application> </manifest>
make sure below mentioned points taken care: 1) wrong service enabled. make sure "google maps android api v2", not "google maps api v2" enabled , re-generate api key.
2) add following elements manifest. replace com.example.mapdemo package name of application.
3) use of correct certificate , key. release certificate, not work during debugging when run app on phone. have use debugging keystore certificate fingerprint instead.
Comments
Post a Comment