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

前端 未结 7 1106
鱼传尺愫
鱼传尺愫 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 also tried many settings to Use SDK 22

    Config.xml

    \platforms\android\project.properties

    target=android-23

    \platforms\android\AndroidManifest.xml

    platforms\android\CordovaLib\project.properties

    target=android-23

    Nothing worked till I not accepted SDK 22 licenses via command line

    Remember to accept or install license newly installed SDK otherwise build process will show you an error or will try to install SDK which licenses you installed into your system.

提交回复
热议问题