Android - 谷歌地图api v2& android 2.3.7

时间:2013-09-25 12:39:09

标签: android google-maps-android-api-2

我使用Google map api v2为我的应用程序abd在我的设备中运行此应用程序(android 2.3.7)。直接运行到设备时可以,但是当我将应用程序导出到* .apk然后安装在此设备中,运行应用程序时,它只显示白屏......

1 个答案:

答案 0 :(得分:0)

You need to create the release certificate.
To create release certificate :
    - After created the release keystore and signed the .APK. you can get the release certificate fingerprint.
    - open Terminal and type the command:
        keytool -list -v -keystore <your_keystore_name> -alias <your_alias_name>
        where:
            <your_keystore_name> is the path and name of the keystore, including the .keystore extension.
            <your_alias_name> is alias that you assigned to the certificate when you created it.

Now to register this release certificate in google console along with the debug certificate. 
And Use that key in manifest file.