Android Installed Build Tools revision 34.0.0 is corrupted. Remove and install again using the SDK

06-01 1083阅读

前言

ERROR: Installed Build Tools revision 34.0.0 is corrupted. Remove and install again using the SDK Manager.
错误:已安装的生成工具修订版34.0.0已损坏。使用SDK管理器删除并重新安装。

上面提示看似简单 只需要 重新卸载 再下载Build Tools34.0.0就行了

但实际上并不行

降低版本

  • 降低 Build Tools revision 实测不行 行也是治标不治本

    解决方案

    通过查资料 自己测试下面方法可行

    这个android build tools 版本你用哪个都可以 但是需要修改文件名字

    比如我用的版本号是 34.0.0 打开你的SDK目录

    Android Installed Build Tools revision 34.0.0 is corrupted. Remove and install again using the SDK

     第一步: 在你的 android sdk 安卓目录中找到 build tools 目录中的 d8.bat,将文件名修改为dx.bat
    第二步:找到 build tools 目录中的 lib 文件夹里面的d8.jar,将文件名修改为dx.jar

    还有一种是复制方案 比如你找个低于30版本的build tools

    第一步:将android sdk/build-tools/28.0.3/dx.bat 复制一份 android sdk/build-tools/34.0.0/dx.bat
    第二步: 将android sdk/build-tools/28.0.3/lib/dx.bat 复制一份 android sdk/build-tools/34.0.0/lib/dx.bat

    Android Installed Build Tools revision 34.0.0 is corrupted. Remove and install again using the SDK

    原文链接:https://blog.csdn.net/Life_s/article/details/131458426

免责声明:我们致力于保护作者版权,注重分享,被刊用文章因无法核实真实出处,未能及时与作者取得联系,或有版权异议的,请联系管理员,我们会立即处理! 部分文章是来自自研大数据AI进行生成,内容摘自(百度百科,百度知道,头条百科,中国民法典,刑法,牛津词典,新华词典,汉语词典,国家院校,科普平台)等数据,内容仅供学习参考,不准确地方联系删除处理! 图片声明:本站部分配图来自人工智能系统AI生成,觅知网授权图片,PxHere摄影无版权图库和百度,360,搜狗等多加搜索引擎自动关键词搜索配图,如有侵权的图片,请第一时间联系我们。

目录[+]

取消
微信二维码
微信二维码
支付宝二维码