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

前端 未结 17 954
旧时难觅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:12

    For me the problem was that my android version was still on 6.1.2 which is not compatible with the newest Android Studio 2.3.1.

    So what I did was run

    cordova platform rm android cordova platform add android@6.2.1

提交回复
热议问题