我在创建 API key 时遇到问题,因为“创建新服务器 key ”和“创建新浏览器 key ”选项不在 API 访问页面中。我是否应该为此付费。
最佳答案
通常在创建项目并保存项目后#您单击左侧面板上的服务并打开适用于 Android 的 Google Cloud Messaging。然后你应该看到这个屏幕:
点击API Access,记下图片上标注的API Key
编辑: 以下是详细描述此过程的完整文章的链接: http://www.androidhive.info/2012/10/android-push-notifications-using-google-cloud-messaging-gcm-php-and-mysql/
关于android - 如何为 GCM 创建 API key ?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13151054/