An error occurred building visual studio cordova app using multi-device-hybrid-apps

前端 未结 4 2200
有刺的猬
有刺的猬 2020-12-01 11:20

I am getting 3 fatal errors. I installed the android SDK 19 as well. Any ideas???

An error occurred while listing Android targets

C:\\Project\\AngularJS_To         


        
4条回答
  •  無奈伤痛
    2020-12-01 12:04

    Try to following these steps in order:

    • Ensure that the Android SDK is installed at %localappdata%/Android/android-sdk

    • Ensure that Android is updated to the latest API (API 19 at the time of writing)

    • Ensure the Android SDK path is setup correctly:

      • Add ADT_HOME as an environment variable and point it to the android-sdk folder

      • Add to System Path: "%ADT_HOME%\tools;%ADT_HOME%\platform-tools"

    • Reboot your machine

    This should resolve the issue.

    *Taken from the "Installing 3rd party software manually" section in the official documentation.

提交回复
热议问题