如何从谷歌播放服务获取android app_id

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/22363139/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-20 05:52:36  来源:igfitidea点击:

how to get android app_id from google play services

androidgoogle-play-serviceskeystrokeapp-id

提问by fpopic

I created android application and hosted it on google play, but suddenly I deleted my project in Eclipse (from disk too) and now I am restoring some files from backup but I don't have old app_idin res/values/strings.xml

我创建Android应用程序和托管它在谷歌玩,但突然我删除我的项目在Eclipse(从磁盘太),现在我恢复从备份一些文件,但我没有旧app_idres/values/strings.xml

how can I get app_idfrom play services or .apk or keystore because I need it for Google API integration

我如何app_id从播放服务或 .apk 或密钥库中获取,因为我需要它Google API integration

 <meta-data android:name="com.google.android.gms.games.APP_ID"
            android:value="@string/app_id" />

回答by Ogen

Sign in to the google developers console here: https://play.google.com/apps/publish

在此处登录 Google 开发者控制台:https: //play.google.com/apps/publish

You should be able to find it under your app.

您应该可以在您的应用程序下找到它。

EDIT: It's in the Games Servicestab

编辑:它在游戏服务选项卡中

enter image description here

在此处输入图片说明