如何压缩对齐APK文件中的android?文件、APK、android

由网友(懂爱旳孤独)分享简介:我上传我的第一个APK文件添加到Google Play,但我收到以下错误。I am uploading my first APK file to google play but I am getting following error.您上传未对准拉链的APK。您需要在您的APK运行一个zip对齐工具,并重新上传。...

我上传我的第一个APK文件添加到Google Play,但我收到以下错误。

I am uploading my first APK file to google play but I am getting following error.

您上传未对准拉链的APK。您需要在您的APK运行一个zip对齐工具,并重新上传。

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文件?

Can any one tell me how to zip align my apk file ?

请告诉我的步骤是什么?

Please tell me steps for that ?

推荐答案

阅读从谷歌本身文档

的步骤应该是简单的跟随。

The steps should be simple to follow.

请遵循 这 DOC从谷歌的完整的出版细节

Please follow this doc from google for complete publishing details

在简而言之短,完整的步骤(我假设你使用Eclipse / Android SDK中):

In short,complete steps in a nutshell(I am assuming you use eclipse/android sdk):

 1. Check android_manifest.xml and verify that android:debuggable  attribute is set to false in your manifest file            
 2. Check the android:versionCode and android:versionName attributes. 
    (if this is the first time you are uploading a apk,   
    ignore, else if it is a new version of existing apk, make sure these   
    values are larger than previous apk)
 3. Export unsigned application package from Eclipse
 4. Sign the application using release key certificate(not debug key certificate)
 5. Zip align the package
 6. Upload in google play
阅读全文

相关推荐

最新文章