Cordova : [Error: Please install Android target: “android-21”

后端 未结 9 679
梦毁少年i
梦毁少年i 2020-12-04 11:50

I just updated cordova + ionic in my app, after that i installed successfully Android-SDK v22 via Android SDK manager.

But after the running command:



        
9条回答
  •  被撕碎了的回忆
    2020-12-04 12:42

    I have been having the same problem in windows. It appeared that when I was running the SDK Manager you have to select "Run as Administrator" otherwise it denies permission to install certain files, on of them being "ANDROID-22"

    Here is the the link I found to resolve this issue: android sdk manger not updating

提交回复
热议问题