zipalign: command not found

前端 未结 9 2041
Happy的楠姐
Happy的楠姐 2021-01-31 02:51

I\'m working on Ionic project now whereby I want to zipalign the android-release-unsigned.apk file. I followed this guide by Ionic.

When I run

9条回答
  •  死守一世寂寞
    2021-01-31 03:39

    I solved this problem by making the zipalign path an environment variable:

    export ZIPALIGN_PATH=~/Library/Android/sdk/build-tools/30.0.3/zipalign
    

    Then I replaced zipalign with $ZIPALIGN_PATH in the script I was trying to run

提交回复
热议问题