cannot find zip-align when publishing app

后端 未结 25 1838
名媛妹妹
名媛妹妹 2020-11-29 18:00
cannot.find.zip.align=The zipalign tool was not found in the SDK.

Please update to the latest SDK and re-export your application
or run zipalign manually.

Aligning         


        
25条回答
  •  情书的邮戳
    2020-11-29 18:46

    Steps to fix this,

    1. Install latest version of Android SDK Build-Tools
    2. Check if zipalign.exe is available in folder android-sdk\build-tools\ e.g. android-sdk\build-tools\21.1.0\
    3. In some older version of android you may not find zipalign.exe. Do not panic, check any other verion in which zipalign is available.
    4. Open your project.properties file and configure build-tools to point to the in which zipalign.exe is present. e.g. sdk.buildtools=21.1.0.
    5. Restart your eclipse and try exporting again. It should work.

提交回复
热议问题