文章目录

  • 一、报错信息
  • 二、解决方案

一、报错信息


Android 应用编译时 , 报如下错误 :

Build-tool 31.0.0 is missing DX at Y:\001_DevelopTools\002_Android_SDK\build-tools\31.0.0\dx.batFAILURE: Build failed with an exception.* What went wrong:
Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.
> Installed Build Tools revision 31.0.0 is corrupted. Remove and install again using the SDK Manager.* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.* Get more help at https://help.gradle.orgBUILD FAILED in 43s

二、解决方案


点击顶部的 SDK Manager 图标 , 打开 SDK Manager ;

打开后 , 选择 SDK Tools 面板 :

错误提示 Build Tools revision 31.0.0 出现错误 , 这里先取消 编译工具 31.0.0 版本勾选 , 选择 Apply -> OK 卸载该工具 ;

提示删除该编译工具的 31.0.0 版本 ,

删除中 …

删除完成 ;

然后再勾选 31.0.0 编译工具 , 选择 Apply -> OK 选项 ;

提示安装 , 选择 OK ;


等待该工具自动安装完成 ;

安装完成 , 选择 Finish 选项 ;

上述操作完成后 , 可以编译通过 ;

【错误记录】Android 编译报错 ( Installed Build Tools revision 31.0.0 is corrupted. Remove and install again )相关推荐

  1. 【错误记录】Android Studio 编译报错 ( Installed Build Tools revision 31.0.0 is corrupted )

    文章目录 一.报错信息 二.解决方案 一.报错信息 Executing tasks: [:dex_demo:assembleDebug, :app:assembleDebug] in project ...

  2. Android studio Installed Build Tools revision 31.0.0 is corrupted. Remove and install again

    打包出现错误 31.0.0包出现损坏 错误内容: Installed Build Tools revision 31.0.0 is corrupted. Remove and install agai ...

  3. 【Android】Installed Build Tools revision _.0.0 is corrupted

    项目场景: 使用31.0.0及以上版本的build-tools编译Android应用时. 问题描述 编译应用时遇到如下报错 Installed Build Tools revision 33.0.0 ...

  4. 快速解决Android编译报错 : Manifest merger failed with multiple errors, see logs

    快速解决Android编译报错 : Manifest merger failed with multiple errors, see logs 编译项目的时候,遇到Android Manifest合并 ...

  5. 安卓开发Android studio运行出现ERROR: Installed Build Tools revision 32.0.0 is corrupted.的解决方法

    问题描述 运行出现ERROR: Installed Build Tools revision 32.0.0 is corrupted. 不用重新安装更多的版本,可以通过更简单的方法解决: dug如下: ...

  6. Installed Build Tools revision 32.0.0 is corrupted. Remove and install again using the SDK Manager

    一.异常说明 Andorid Studio 安装后,模拟器启动失败,报错为: Installed Build Tools revision 32.0.0 is corrupted. Remove an ...

  7. android 编译报错,android avc 编译报错neverallow问题查找

    android avc 编译报错neverallow问题查找 2020年08月11日 | 萬仟网移动技术 | 我要评论 在修改avc后,有时候编译会报错neverallow.这个具体是在什么地方定义的 ...

  8. Android 编译报错:Could not get resource

    编译报错: Could not resolve all dependencies for configuration ':app:debugRuntimeClasspath'. Could not d ...

  9. 【idea编译错误】IDE 编译报错: Dangling metacharacter

    IDE 编译报错: Dangling metacharacter Dangling metacharacter 的意思是说:摇摆不定的元字符. 翻译成编程意思就是:当前字符计算有其它意思,并不能确定你 ...

  10. 【错误记录】Android Studio 4.2.1 编译报错 ( Kotlin 版本推荐设置 1.5.0 )

    文章目录 一.报错信息 二.解决方案 一.报错信息 将 Android Studio 版本升级成最新的 4.2.14.2.14.2.1 版本 , 出现如下错误 ; Build file 'D:\pro ...

最新文章

  1. Learn OpenGL (三):着色器
  2. 【转】每天一个linux命令(39):grep 命令
  3. ASP.Net Core WebApi几种版本控制对比
  4. VBA实战技巧精粹011:新建只有1张工作表的工作簿
  5. babel 用法及其 .babelrc 的配置详解,想做前端架构,拒绝一知半解...
  6. python元类使用场景_Python元类使用简介
  7. Android App罕见错误和优化方案
  8. UNIX系统编程小结(三)----进程相关
  9. 智能手机操作系统安全性简评
  10. postgresql-窗口函数使用
  11. 使用ArcGIS提取HWSD中的土壤属性数据
  12. 分享|5G智慧校园顶层设计(附PDF)
  13. 2014世界10大DRAM公司
  14. PCL笔记二:PCD解析;PCD读取;PCD与XYZ转换;
  15. 不用安装Wincap程序实现ARP广播包的发送和接收
  16. 各种单片机芯片封装形式
  17. 个人博客系统项目-已开源
  18. 乐鑫esp8266学习rtos3.0笔记第11篇:详细分析Esp8266上电信息打印的数据,如何做到串口通讯上电不乱码打印。
  19. Joel谈优秀软件开发-摘录
  20. 艾司博讯:拼多多机器人客服在哪里

热门文章

  1. 获取U盘 VID,PID
  2. 操作系统--windows系列之windows8
  3. 史上最严重网络数据泄露事件合集
  4. 计算机图片怎样存在桌面上,电脑桌面上怎么放照片
  5. JS 数字转换为EXCEL字母列
  6. rocksdb-参数配置
  7. 【论文阅读】Attention-based Deep Multiple Instance Learning
  8. 懒人精灵 一 获取淘宝北京时间接口
  9. 介绍一下什么是静态独享代理ip。
  10. 计算机用户名显示TEMP,Windows 下Temp帐号处理