react-native run-android报错的原因,license问题
2023-09-14 09:03:57 时间
错误消息:
![](https://user-images.githubusercontent.com/5669954/64940347-52f51c00-d896-11e9-9651-be36c3a22082.png)
What went wrong:
A problem occurred configuring project ‘:app’.
Failed to install the following Android SDK packages as some licences have not been accepted.
build-tools;28.0.3 Android SDK Build-Tools 28.0.3
platforms;android-28 Android SDK Platform 28
To build this project, accept the SDK license agreements and install the missing components using the Android Studio SDK Manager.
Alternatively, to transfer the license agreements from one workstation to another, see http://d.android.com/r/studio-ui/export-licenses.html
![](https://user-images.githubusercontent.com/5669954/64940348-538db280-d896-11e9-94d7-cc5565c35f0c.png)
C:\Users\i042416\AppData\Local\Android\Sdk
执行SDK目录下的sdkmanager.bat接受license后问题解决:
![](https://user-images.githubusercontent.com/5669954/64940350-54264900-d896-11e9-8811-a9875decf543.png)
![](https://user-images.githubusercontent.com/5669954/64940352-54264900-d896-11e9-8e03-c284fc4a0ae0.png)
要获取更多Jerry的原创文章,请关注公众号"汪子熙":
相关文章
- [Android Pro] proguard.cfg 配置文件
- Android开发之旅:android架构
- [React Native] Writing Platform-Specific Components for iOS and Android in React Native
- EasyRTMP实现的一套简单、高效、易用的全平台(Windows/Linux/ARM/Android/iOS)RTMP直播推送库
- [React Native] Writing Platform-Specific Components for iOS and Android in React Native
- Android版OpenCV图像处理技术亲自验证[三十一]之图像简单阈值操作(附源码)
- Android setSystemUiVisibility方法详解
- Android—开源项目app的学习
- Android 11.0 12.0微信视频通话上下颠倒的解决方案
- android 11.0 12.0Launcher3修改workspace字体颜色
- Android 12.0 内置app编译报错编不过的解决方案
- Android 9.0 遥控器点击输入框 弹不出输入法
- 【Android Gradle 插件】AaptOptions 配置 ① ( AaptOptions#additionalParameters 附加参数配置 | aapt 工具帮助文档 )
- 【Android 性能优化】应用启动优化 ( 安卓应用启动分析 | Launcher 应用简介 | Launcher 应用源码简介 | Launcher 应用快捷方式图标点击方法分析 )
- React Native学习笔记(一)—— Win10 Win11安卓子系统的安装与使用 - Windows Subsystem for Android - WSA
- Android中的Binder机制的简要理解
- android intent和intent action大全
- [Android基础]Android中使用HttpURLConnection
- 裸辞两个月,海投一个月,从Android转战Web前端的求职之路(转)
- Android Studio的Logcat窗口在哪