Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/187.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android 谷歌地图显示灰色瓷砖的出口_Android_Google Maps - Fatal编程技术网

Android 谷歌地图显示灰色瓷砖的出口

Android 谷歌地图显示灰色瓷砖的出口,android,google-maps,Android,Google Maps,在SO中,我遵循了关于不同问题的所有说明,但我没有正确导出基于google地图的应用程序 当我使用eclipse在设备上调试我的应用程序时,应用程序工作正常,但当我导出它时,它不会显示地图 我确实正确获取了API密钥: <com.google.android.maps.MapView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/mapview" android

在SO中,我遵循了关于不同问题的所有说明,但我没有正确导出基于google地图的应用程序

当我使用eclipse在设备上调试我的应用程序时,应用程序工作正常,但当我导出它时,它不会显示地图

我确实正确获取了API密钥:

<com.google.android.maps.MapView
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/mapview"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:apiKey="API KEY HERE"
    android:clickable="true" >
</com.google.android.maps.MapView>

并要求在应用程序标签外和menifest文件内执行所有预任务:

<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>

我还确保自定义调试密钥库与eclipse构建prefs中的默认调试密钥库相同

我用了日食,不知道下一步该怎么办


还有什么问题吗?

您需要生成签名apkeclipse生成自己的签名apk,但您必须使用自己的签名apk

您需要使用释放键


要生成发布密钥,请使用您的应用程序密钥库文件而不是默认的密钥库

,这些步骤太复杂了,在我使用中的向导获得已签名的APK后该怎么办