You have not accepted the license agreements.[Android SDK Platform 23]

帅比萌擦擦* 提交于 2019-12-04 04:56:08

问题


I am working with React-Native, when I run the react-native run-android run command I get this error

You have not accepted the license agreements of the following SDK components:[Android SDK Platform 23, Android SDK Build-Tools 23.0.1].

I have Android Studio with SDK version 26 and Android SDK Build-Tools 26 installed.

Why does react give this error?


回答1:


Can you try follow this comment and try if it solves your issue? https://github.com/ionic-team/ionic-cli/issues/1726#issuecomment-279164447




回答2:


the error show that you not accept license on build tools v23.0.1 you need to accept that license. do following things

Android\sdk\tools\bin>sdkmanager.bat "build-tools;23.0.1"


来源:https://stackoverflow.com/questions/45364498/you-have-not-accepted-the-license-agreements-android-sdk-platform-23

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!