将 Android 应用程序逐步上传到 google play...?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/11759610/
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 08:45:34  来源:igfitidea点击:

Upload Android app to google play step by step...?

androidcertificateapkgoogle-playdistribute

提问by Manish Jain

1) I'm newbie to android distribution,my application is ready and now I want to distribute it through google play. But I can't find how to create certificate, because default debug certificate not use for distribute. can any one help me to create self signed certificate. I'm using mac os and eclipse as ide for development.

1) 我是 android 分发的新手,我的应用程序已准备就绪,现在我想通过 google play 分发它。但我找不到如何创建证书,因为默认调试证书不用于分发。任何人都可以帮助我创建自签名证书。我使用 mac os 和 eclipse 作为开发的 ide。

2) After creating appropriate .apk with self signed certificate. what is the process to upload it and where? Is there any account I've to create on google play through which I can upload and manage my app (like iphone developer account).

2) 使用自签名证书创建适当的 .apk 后。上传它的过程是什么?在哪里?是否有任何我必须在 google play 上创建的帐户,通过它我可以上传和管理我的应用程序(如 iphone 开发者帐户)。

回答by DeeV

Can't get a better breakdown than the source.

找不到比源更好的细分了。

Easy Mode:

简易模式:

  1. Since you're using eclipse, just click "File->Export->Export Android Application". Follow the wizard's instructions. You'll need to create a keystore with password. Within the keystore, you'll need to create a key to sign the app with. The key can have the same password as the keystore or a different one. KEEP THE KEYSTORE AND PASSWORDS. You will need to use the SAME EXACT KEY every time you want to update your app. Failing to do so will require you to resubmit your app as a different program on the store.

  2. Go to https://play.google.com/apps/publish/. Create your account. You'll have to pay a one-time fee of $25 to submit. Once there, you'll have access to your console. Click the button "Upload Application", follow the instructions, input the info, click "Save". If everything is the way you like it, click "Publish". Grab some coffee, read a book, play a game, go to the gym, whatever. Come back a couple hours later and you and everyone else will be able to download the app from the store.

  1. 由于您使用的是 eclipse,只需单击“文件->导出->导出 Android 应用程序”。按照向导的说明进行操作。您需要使用密码创建一个密钥库。在密钥库中,您需要创建一个密钥来为应用程序签名。密钥可以具有与密钥库相同的密码或不同的密码。保留密钥库和密码。每次要更新应用程序时,您都需要使用 SAME EXACT KEY。如果不这样做,您将需要在商店中重新提交您的应用程序作为不同的程序。

  2. 转到https://play.google.com/apps/publish/。创建您的帐户。您必须支付 25 美元的一次性费用才能提交。到达那里后,您将可以访问您的控制台。点击“上传申请”按钮,按照提示输入信息,点击“保存”。如果一切都是您喜欢的方式,请单击“发布”。喝杯咖啡,看书,玩游戏,去健身房,什么都行。几个小时后回来,您和其他人都可以从商店下载该应用程序。

This is all assuming you have ONE apk that is LESS THAN 50MB in size. Things get more complicated when you have to implement expansion files, multiple APKs, app licensing, or any of the other Google Services.

这一切都假设您有一个小于 50MB 的 apk。当您必须实施扩展文件多个 APK应用程序许可或任何其他Google 服务时,事情会变得更加复杂。

UPDATE

更新

As of September 2015, the maximum size of an APK on the Google Play store can be 100MB before you have to use expansion files.

截至 2015 年 9 月,在您必须使用扩展文件之前,Google Play 商店中的 APK 的最大大小可以为 100MB。