Android Studio 4.1.1 项目编译失败 一直显示 Gradle Config Projecr_Lan.W
启动时候编译报以下错:
Build file 'H:\LaniWork2021\gitcode\INP_Curie_APP2\Curie\MPChartLib\build.gradle' line: 51
A problem occurred evaluating project ':MPChartLib'.
> Failed to install the following Android SDK packages as some licences have not been accepted.
? ? ?build-tools;29.0.3 Android SDK Build-Tools 29.0.3
? ? ?platforms;android-29 Android SDK Platform 29
? 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
?
重启之后:
Still waiting for package manifests to be fetched remotely.
操作:
?删除Android Studio 重新安装
1、先 cd 到 安装sdk 的 tools/bin 目录下:如 cd /home/xxxxx/xxx/00_soft/sdk/android-sdk-linux/tools/bin
? ? ? 在没有更新 sdkmanager 之前,该文件夹下只有一个 sdkmanager 可执行文件
2、执行命令 ?./sdkmanager.bat?--update
3. 再执行? ./sdkmanager.bat?--licenses?
相关文章
- Flutter 小技巧之优化你的代码性能_恋猫de小郭
- 场景题:假设10W人突访,你的系统如何做到不 雪崩?_40岁资深老架构师尼恩
- m基于FPGA的GPS收发系统开发,包括码同步,载波同步,早迟门跟踪环,其中L1采用QPSK,L2采用BPSK_我爱C编程
- 12个爆款 Java 开源项目_六月?飞雪
- SwiftUI??如何使用自带的原生图表(Charts)_zhonguncle_swiftui charts
- PLL实验_weixin_45090728
- 下载axios时出现很多npm ERR错误:npm ERR! code ERESOLVEnpm ERR! ERESOLVE could not resolve_陌一一
- swift指针&内存管理-闭包的循环引用_i_erlich_swift闭包循环引用
- 【小程序】如何开发属于自己的一款小程序_十八岁讨厌编程
- VCS学习笔记(二)_aaaaaaaa585_vcs和vlogan
- FPGA 点亮LED灯_南妮儿
- AnyConnect苹果IOS系统Iphone手机的设置教程_Lucas0575_anyconnect
- 实验八 交通灯电路设计【Verilog】_日星月云
- Runtime源码解析-alloc__祀梦
- 植物大战 日期类??C++_乔 巴
- 升级iOS16.0.3后Siri无法正常工作?可试下这2种解决办法_m0_63254421_升级ios16后siri无法使用