cannot find zip-align when publishing app

后端 未结 25 1786
名媛妹妹
名媛妹妹 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条回答
  •  Happy的楠姐
    2020-11-29 18:35

    If you are using gradle just update ypur gradle plugin!

    Change line in build.gradle from:

    classpath 'com.android.tools.build:gradle:0.9.+'
    

    to:

    classpath 'com.android.tools.build:gradle:0.11.+'
    

    It works for me.

    Note that variable buildToolsVersion (for me "20.0.0") must match your version of build-tools.

    Good luck :)

提交回复
热议问题