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

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

    “Android target: not installed”

    Please install Android target / API level: "android-25".

    You need to create an Android Virtual Device (API level: "android-25" or latest) or need to add android real device.

    Also you can import the project in Android Studio and run.

    You can check here:

    https://cordova.apache.org/docs/en/latest/guide/platforms/android/index.html

    https://developer.android.com/studio/command-line/adb.html

提交回复
热议问题