Ionic on Windows: Android SDK installed. Still get “Error: Please install Android target: ”android-22"

前端 未结 7 1173
鱼传尺愫
鱼传尺愫 2021-01-01 21:46

I have managed to break my previously working version of the Ionic enviroment. For example: I download the demo project \"sidemenu\" and run \"ionic platform add android\" w

7条回答
  •  耶瑟儿~
    2021-01-01 22:34

    I was having the same issue and this worked for me. I have Android Studio installed, which makes managing the SDK a lot easier.

    1) When you launch Android Studio, click on the "Configure" option

    2)Then click SDK Manager

    4) Then select Android 5.1.1 which is the API level 22 that you need. Refer to the screenshot below.

    5) Hit Apply

    This will installed the required android-22 that your build is asking for.

提交回复
热议问题