This documentation is available as Markdown for AI agents and LLMs. See the full Markdown index or append .md to any documentation URL.
手动提交安卓应用到谷歌商店
第一次将 Android 应用上传到 Google Play 控制台的分步指南。
如果你是第一次将你的安卓应用提交到 Google Play 商店,这份指南会一步步教你如何手动上传应用,并在 Google Play 控制台(一个网页界面)创建你的第一个版本。
🌐 If you are submitting your Android app to the Google Play Store for the first time, this guide walks through the steps to upload it manually and create your first release in Google Play Console, a web UI.
信息 手动上传是可选的。
eas submit命令可以直接并默认在内部测试渠道创建你应用的第一个版本。如果你更喜欢自己在 Play 控制台创建第一个版本,可以参考本指南。
警告 Google Play 控制台仪表板会随时间变化。如果本指南中的截图或标签与你看到的不符,请在 GitHub 上提交问题告诉我们。
创建你的第一个版本的步骤
🌐 Steps to create your first release
1
2
输入应用名称,选择默认语言、应用或游戏、免费或付费,然后点击创建应用。
🌐 Enter App name, select Default language, App or game, Free or paid, and click Create app.
3
你将被重定向到仪表盘,在那里你可以提供关于你的 Android 应用的所有信息。
🌐 You will be redirected to the Dashboard, where you provide all the information about your Android app.
4
按照步骤填写应用详情。先准备好应用的内部测试版本。点击 立即开始测试 下的 查看任务。
🌐 Go through the steps to fill out the app details. Start by preparing your app's internal testing version. Click View tasks under Start testing now.
信息 这一步很重要。否则,当你尝试发布时,会看到与应用信息相关的错误。
5
在 内部测试 页面,找到 测试人员,点击 创建电子邮件列表 并添加用户以共享内部测试版本。在创建(或选择现有的)测试人员列表后,点击 保存。
🌐 On the Internal testing page, under Testers, click Create email list and add users to share the internal test release with. After creating (or selecting an existing) testers list, click Save.
6
点击 创建新版本。
🌐 Click Create new release.
7
你将被重定向到应用完整性屏幕。选择 选择签名密钥 > Google 生成的密钥。使用 Google 生成的密钥,即使你丢失了 Android 密钥库,也能上传你的应用。
🌐 You will be redirected to the App integrity screen. Select Choose signing key > Google-generated key. Using a Google-generated key lets you upload your app even if you lose your Android keystore.
8
在 应用包 下,点击 上传 并从你的电脑中选择 .aab 文件。如果你还没有创建构建,使用 eas build 创建一个。
🌐 Under App bundles, click Upload and choose the .aab file from your computer. If you haven't created your build yet, create one with eas build.
9
一旦上传完成,你将看到归档类型和版本号。版本号用于标识每个发布版本。每个新版本都必须有一个唯一的值。在 Expo 项目中,可以在你的应用配置中通过 expo.android.versionCode 设置,或者使用远程版本来源自动递增。
🌐 Once the upload completes, you will see the archive type and the Version code. The Version code identifies each release. Every new release must have a unique value. In an Expo project, set this with expo.android.versionCode in your app config, or use remote version source to increment it automatically.
10
输入发布名称然后点击下一步。在预览和确认页面,你可能会看到关于_“...此应用包没有关联的反混淆文件...”_的警告。你现在可以先忽略它,或者使用expo-build-properties启用ProGuard规则。点击保存并发布。
🌐 Enter the Release name and click Next. On the Preview and confirm screen, you may see a warning about "... no deobfuscation file associated with this App Bundle ...". You can skip this for now, or enable ProGuard rules with expo-build-properties. Click Save and publish.
11
你将进入 内部测试 > 发布 摘要页面。点击 推广发布 就可以让你的应用对测试人员可用,或者将其提升到生产环境。
🌐 You will land on the Internal testing > Releases summary. Click Promote release to make your app available to testers, or to promote it to production.
12
要将版本分享给你创建的测试人员列表,点击 Testers > Copy link 并分享链接。测试人员可以通过该链接在他们的设备上安装应用。
🌐 To share the release with the testers list you created, click Testers > Copy link and share the link. Testers can install the app on their device from that link.
下一步
🌐 Next steps
返回 仪表板 并完成你的应用剩下的任务:隐私政策、商店素材和其他细节。应用上线前必须完成这些步骤。
🌐 Go back to the Dashboard and complete the remaining tasks for your app: privacy policy, store assets, and other details. This is required before the app can go to production.
进一步阅读
🌐 Further reading
- Play Console 中的 缺少隐私政策 错误
- 为你的应用商店页面创建商店素材
- 创建 Google 服务账户密钥:使用
eas submit --platform android所需 - 用 EAS Submit 提交到 Google Play 商店