react-native run-android时可能会报下面错误:
Checking the license for package Android SDK Build-Tools 23.0.1 in XXX
You have not accepted the license agreements of the following SDK components: XXX
错误的原因就很明显,没有accepted license
解决方法:cmd cd到sdk的bin路径下,执行
sdkmanager.bat --licenses
然后会出现 y/n?的提示,一路y下去就行了