简体   繁体   English

无法在Google Play商店上发布

[英]Can't publish on Google Play Store

I have just finished and signed the apk through android studio, then I have did a signed apk. 我刚刚完成并通过android studio签名了apk,然后我做了一个已签名的apk。 when I am trying to upload the apk to play store I got this error " You uploaded an APK that is not zip aligned. You will need to run a zip align tool on your APK and upload it again. 当我尝试上载APK到Play商店时,出现此错误“您上载了一个未zip对齐的APK。您将需要在APK上运行一个zip对齐工具,然后再次上传。

Try to update your sdk or you can run zipalign manually in command line 尝试更新您的SDK,或者您可以在命令行中手动运行zipalign

zipalign [-f] [-v] <alignment> infile.apk outfile.apk

Note that zipalign is located inside 请注意,zipalign位于内部

${sdk.dir}\\tools $ {sdk.dir} \\ tools

Link to zipalign: http://developer.android.com/tools/help/zipalign.html 链接到zipalign: http : //developer.android.com/tools/help/zipalign.html

try cross check that you didn't uploaded debug version cross check the following link. 请尝试交叉检查您是否没有上传调试版本,然后交叉检查以下链接。 http://developer.android.com/tools/publishing/app-signing.html#releasecompile http://developer.android.com/tools/publishing/app-signing.html#releasecompile

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM