cordova Android requirements failed: “Could not find an installed version of Gradle”

前端 未结 17 913
旧时难觅i
旧时难觅i 2020-11-27 03:44

I\'m trying to build a Cordova Android project using the most recent tools. I followed the instructions here:

$ cordova create myApp com.myCompany.myApp myAp         


        
17条回答
  •  感情败类
    2020-11-27 04:18

    I tried many but it didnt work finally ,

    1. I installed gradle using macos port
    2. I set GRADLE_HOME path as it told after installing gradle
    3. I executed ::

    sudo chmod -R a+rwx /Library/Java/JavaVirtualMachines *

    sudo chmod -R a+rwx *

    sudo chmod 777 {your-gradle-path}

    It immediately started working

提交回复
热议问题