简体   繁体   中英

Google Maps API key for Android Wear

I have an Android handheld application and I want to add a wear app for it.

My handheld app already uses Google Maps API and has a key for it. Now I add a 'wear' module to my project in Android Studio and I want my wear app to contain a full screen map. I've implemented an activity with a map but I have troubles starting it. So I presumed there can be a key issue. Do I have to get a new key for wear?

Any ideas?

您必须使用与掌上电脑应用程序相同的密钥(前提是您使用相同的密钥签名),并在帐户google map api中授权apk手表的软件包名称。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM