赞
踩
在项目中提示这些信息:
Executing tasks: [:app:assembleDebug] in project D:\User\WorkSpace\Android\Test\RY1
Build-tool 33.0.0 is missing DX at C:\Users\AppData\Local\Android\Sdk\build-tools\33.0.0\dx.bat
Build-tool 33.0.0 is missing DX at C:\Users\AppData\Local\Android\Sdk\build-tools\33.0.0\dx.bat
FAILURE: Build failed with an exception.
What went wrong:
Could not determine the dependencies of task ‘:app:compileDebugJavaWithJavac’.
Installed Build Tools revision 33.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.org
BUILD FAILED in 719ms
上面这个问题非常奇葩,特此记录一下解决方案:
将上面两个文件中的d8名称修改成dx,问题就解决了;
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。