且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

找不到类的com.google.android.gms.location.internal.ParcelableGeofence

更新时间:2022-06-09 06:42:55

其中的原因出现此错误是,如果你已经更新了你的Eclipse那么你的API密钥会改变。

One of the reason to get this error is if you have updated your eclipse then your API key would have changed.

要获得SHA1指纹你必须遵循这个环节,
[http://***.com/questions/11146512/getting-google-maps-api-debug-key-with-windows-command-prompt]

To get SHA1 fingerprint you have to follow this link, [http://***.com/questions/11146512/getting-google-maps-api-debug-key-with-windows-command-prompt]

从SHA1指纹你可以从谷歌控制台站点API密钥。
[http://www.technicaladvices.com/2012/03/19/generating-keys-for-google-maps-api-using-the-apis-console/]

From SHA1 fingerprint you can get API key from Google Console site. [http://www.technicaladvices.com/2012/03/19/generating-keys-for-google-maps-api-using-the-apis-console/]

粘贴清单文件API密钥

Paste that API key in manifest file

 <meta-data
        android:name="com.google.android.maps.v2.API_KEY"
        android:value="your api key" />

我希望这有助于。

I hope this helps.