【发布时间】:2021-02-03 02:02:46
【问题描述】:
我使用 react-native 制作一个应用,在 play store 上传 apk,得到这个问题: Publishing android app error: You need to use a different package name because "com.xxxx" already exists in Google Play.
我的包名它也连接到 google-services.jason(firebase 分析和 AdMob)。
如何正确更改包名?
【问题讨论】:
-
您必须更改您的应用程序包名称以及“google-services.json”
-
只有这一部分? "android_client_info": { "package_name": "com.xxxx" }
-
不行,用新的包名重新下载 google-services.json
-
我需要在 Firebase 控制台中为 android 添加一个新应用并下载 google-services.json,旧应用删除?
-
没错,就是这样
标签: android react-native