【发布时间】:2014-01-19 12:35:45
【问题描述】:
我正在使用 Xamarin。我需要获取 Google Maps API 密钥,为此我需要我的应用程序的包名称。我怎么得到这个?
我的应用名为 SimpleMapDemo,是使用 Google 地图的示例之一。
【问题讨论】:
-
检查你的清单文件中的包名
标签: android google-maps google-api package xamarin
我正在使用 Xamarin。我需要获取 Google Maps API 密钥,为此我需要我的应用程序的包名称。我怎么得到这个?
我的应用名为 SimpleMapDemo,是使用 Google 地图的示例之一。
【问题讨论】:
标签: android google-maps google-api package xamarin
打开你的 Manifest 文件,你会在 <manifest> 标签中找到你应用的包名。
下面是一个例子:
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.recorder"
android:versionCode="1"
android:versionName="1.0" >
在上面的示例中,我的应用程序包名称是:com.example.recorder
【讨论】: