Java Android-谷歌地图V2授权失败。无法加载地图
我在这里,经过两天的努力,在互联网上搜索所有关于谷歌地图授权失败的文章,我终于决定向你们寻求帮助 我必须明确指出,我已经完成了使其工作所需的所有步骤: 在谷歌控制台中为android设置谷歌地图V2。 使用API密钥和权限更新我的清单 导入库 经过所有这些步骤后,我无法加载我的地图。这让我快发疯了,我不知道该怎么办了。我再说一遍。我阅读了StackOverflow上关于这个问题的所有问题,我无法解决它 这是我的舱单Java Android-谷歌地图V2授权失败。无法加载地图,java,android,google-maps,google-maps-api-3,Java,Android,Google Maps,Google Maps Api 3,我在这里,经过两天的努力,在互联网上搜索所有关于谷歌地图授权失败的文章,我终于决定向你们寻求帮助 我必须明确指出,我已经完成了使其工作所需的所有步骤: 在谷歌控制台中为android设置谷歌地图V2。 使用API密钥和权限更新我的清单 导入库 经过所有这些步骤后,我无法加载我的地图。这让我快发疯了,我不知道该怎么办了。我再说一遍。我阅读了StackOverflow上关于这个问题的所有问题,我无法解决它 这是我的舱单 <?xml version="1.0" encoding="utf-8
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.dorelljobs"
android:versionCode="1"
android:versionName="1.0" >
<uses-feature
android:glEsVersion="0x00020000"
android:required="true" />
<uses-sdk
android:minSdkVersion="14"
android:targetSdkVersion="19" />
<permission
android:name="com.example.dorelljobs.permission.MAPS_RECEIVE"
android:protectionLevel="signature" />
<uses-permission android:name="com.example.dorelljobs.permission.MAPS_RECEIVE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<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.CAMERA" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-feature
android:name="android.hardware.camera"
android:required="true" />
<application
android:name="com.example.dorelljobs.ApplicationContextProvider"
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@android:style/Theme.Holo.Light" >
<meta-data
android:name="com.google.android.gms.version"
android:value="@integer/google_play_services_version" />
<meta-data
android:name="com.google.android.maps.v2.API_KEY"
android:value="@string/map_key" />
<activity
android:name="com.example.dorelljobs.MainActivity"
android:label="@string/app_name"
android:launchMode="singleTask"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="com.example.dorelljobs.LoginActivity"
android:label="Dorell"
android:launchMode="singleTask"
android:screenOrientation="portrait" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name="com.facebook.LoginActivity" >
</activity>
<activity
android:name="com.example.dorelljobs.SignUpActivity"
android:label="@string/title_activity_sign_up"
android:launchMode="singleTask"
android:parentActivityName="com.example.dorelljobs.MainActivity" >
<intent-filter>
<action android:name="com.example.dorelljobs.SIGNUP" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.example.dorelljobs.LoginActivity" />
</activity>
<meta-data
android:name="com.facebook.sdk.ApplicationId"
android:value="424080351070286" />
<activity
android:name="com.example.dorelljobs.LostPassActivity"
android:label="@string/title_activity_lost_pass"
android:launchMode="singleTask"
android:parentActivityName="com.example.dorelljobs.MainActivity"
android:screenOrientation="portrait" >
<intent-filter>
<action android:name="com.example.dorelljobs.LOSTPASS" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.example.dorelljobs.MainActivity" />
</activity>
<activity
android:name="jobs.JobsListActivity"
android:label="@string/title_activity_jobs_list"
android:launchMode="singleTask" >
<intent-filter>
<action android:name="com.example.dorelljobs.JOBSLIST" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
</application>
经过这么多的痛苦,我终于解决了这个问题。您必须执行我之前所做的所有步骤,除了通过Eclipse软件下载程序下载Keytool软件之外,我还创建了一个新的密钥证书。就这些