Cordova Build Gradle Error while opening/extracting zip file

后端 未结 4 2082
傲寒
傲寒 2021-01-02 00:36

When I Run: cordova build, I got this:

Running command:/Users/tyrant/workspace/ideaProject/hello/platforms/android/cordova/build
ANDROID_HOME=/Users/tyrant/s         


        
4条回答
  •  心在旅途
    2021-01-02 01:00

    This is because you have already downloaded a corrupt version of the Gradle package in your system directory. (Maybe due to internet connection issues?) Just go to your local path below and remove all contents inside it.

    /Users/tyrant/.gradle/wrapper/dists/gradle-2.2.1-all/2m8005s69iu8v0oiejfej094b/

    Run cordova build again. This will fix your issue for sure.

提交回复
热议问题