Error: failed to find target with hash string 'android-21'

后端 未结 6 1687
自闭症患者
自闭症患者 2021-02-13 21:03

I want to change my compileSdkVersion from 23 to 21.So I have made following changes in the build.gradle but I am getting following error.How can I resolve this?

6条回答
  •  攒了一身酷
    2021-02-13 21:29

    Go to you Android SDK dir and install it properly:

    tools/android update sdk
    

    or

    tools/android update sdk --no-ui
    

提交回复
热议问题