Java Android MapActivity:未显示

Java Android MapActivity:未显示,java,android,google-maps,map,Java,Android,Google Maps,Map,我已经搜索了所有其他线程并遵循了官方指南,但我仍然无法在我的android设备上显示地图 我已经生成了md5指纹,将其上传到谷歌,将密钥复制到我的show_map.xml文件中,启用了互联网权限等,但它仍然无法工作 我甚至尝试过使用安卓2.1而不是2.2(我目前正在使用) 这是我的show_map.xml文件: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas

我已经搜索了所有其他线程并遵循了官方指南,但我仍然无法在我的android设备上显示地图

我已经生成了md5指纹,将其上传到谷歌,将密钥复制到我的show_map.xml文件中,启用了互联网权限等,但它仍然无法工作

我甚至尝试过使用安卓2.1而不是2.2(我目前正在使用)

这是我的show_map.xml文件:

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
  xmlns:android="http://schemas.android.com/apk/res/android"
  android:orientation="vertical"
  android:layout_width="fill_parent"
  android:layout_height="fill_parent">
   <com.google.android.maps.MapView
       android:layout_width="fill_parent"
       android:layout_height="fill_parent"
       android:apiKey="04IbV5zNab7z_PHdxydzY-xxxxxxxxxxxxxxxxxxx"
       />
</LinearLayout>

这是我的清单文件:

<application android:icon="@drawable/icon" android:label="@string/app_name">
        <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
        <uses-permission android:name="android.permission.INTERNET" />

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

        <activity android:name=".Clarity"
                  android:label="@string/app_name">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>

        <activity android:name=".main_menu"
                  android:label="@string/app_name">
        </activity>

        <activity android:name=".ShowJobsOnMap"
                  android:label="@string/app_name">
        </activity>

    </application>

非常感谢任何人提供的任何帮助


事先非常感谢,

好吧,睡了一夜之后,我想起来了

必须是
的孩子,而不是

刘海从桌子上掉下来


感谢各位的回复

您是否使用正确的密钥在应用程序上签名?我不知道。。。我想这是正确的钥匙。它叫做debug.keystore。我指的是我使用调试证书描述的最后一个步骤。我如何签署我的应用程序?我认为这与导出已签名的应用程序不同?在eclipse中,右键单击project->Android工具->导出已签名的应用程序包。出于开发目的,您应该生成第二个api密钥,该密钥与调试证书一起使用。