无法将第一个Expo React Native Android应用提交到Google Play商店。

huangapple go评论79阅读模式
英文:

Cannot Submit 1st Expo React Native Android app to Google Play Store

问题

我确定有一个简单的答案,但我在文档中找不到。我正在尝试将我的第一个Expo React Native Android应用提交到Google Play商店。在第一次提交时,不能使用eas submit。

当我上传我的应用进行内部测试时,我收到以下错误信息:

您的APK或Android App Bundle的包名必须符合以下格式:"com.example.myapp"。它可以包含字母(a-z)、数字和下划线(_)。它必须以小写字符开头。长度必须在150个字符以内。

包名和文件名是相同的吗?我的文件名是sermon.engagement.wintonbury.aab。包名在哪里定义?

谢谢 - 如果我漏掉了一些显而易见的东西,请原谅!

英文:

I am sure there is an easy answer but I cannot find it in the documentation.

I am trying to submit my first Expo React Native Android app to the Google Play Store. You cannot use eas submit on the first submission.

When I upload my app for internal testing I get the following error:

Your APK or Android App Bundle's package name must be in the following format "com.example.myapp". It may contain letters (a-z), numbers, and underscores (_). It must start with a lowercase character. It must be 150 characters or fewer.

Is the package name the same as the file name? My filename is sermon.engagement.wintonbury.aab. Where is the package name defined?

Thanks - sorry if I am missing something obvious!

答案1

得分: 1

app.json文件中找到或添加package:com.yourdomain.appname,并使用一个唯一的域名。

https://docs.expo.dev/versions/latest/config/app/#package
https://developers.cafebazaar.ir/en/guidelines/build-app/package-name

英文:

Inside app.jsonfile find or add package:com.yourdomain.appname and use a unique domain name.

https://docs.expo.dev/versions/latest/config/app/#package
https://developers.cafebazaar.ir/en/guidelines/build-app/package-name

huangapple
  • 本文由 发表于 2023年8月9日 06:36:35
  • 转载请务必保留本文链接:https://go.coder-hub.com/76863556.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定