Unable to start debugging in Visual Studio RTM for cordova app

前端 未结 11 1799
陌清茗
陌清茗 2020-12-03 00:03

I have a project that was working on RC and worked with no problems. Updated to RTM and now I cannot start the application

I also created a new black cordova app and

11条回答
  •  没有蜡笔的小新
    2020-12-03 00:08

    I have the same issue, cannot start a JS/TS cordova project.

    I went to Tools -> Options -> Tools for Apache Cordova, click the 'Run Dependency Checker'. VS 2015 gave me a report as following:

    =====================

    Please fix the following issues to ensure that your app builds and runs successfully.

    Software/Tool

    Issue

    Android Package: build-tools-19.1.0 One or more required packages are missing. Please update the packages as described. Instructions Android Package: sys-img-armeabi-v7a-android-19 One or more required packages are missing. Please update the packages as described. Instructions Android Package: sys-img-x86-android-19 One or more required packages are missing. Please update the packages as described. Instructions Android Package: addon-google_apis_x86-google-19 One or more required packages are missing. Please update the packages as described. Instructions Android Package: addon-google_apis-google-19 One or more required packages are missing. Please update the packages as described. Instructions

    After fixing these issues, please restart Visual Studio to ensure that changes have been applied.

    ==================

    I also found these links may be helpful:

    https://msdn.microsoft.com/en-us/library/dn757054(v=vs.140).aspx

    https://msdn.microsoft.com/library/dn771551%20(v=vs.140).aspx

    https://github.com/Microsoft/cordova-docs#known-issues

    Update: I installed Andriod SDK API 19 21 22 using the SDK Manager, no luck.

提交回复
热议问题