解决Failed to load D:Android-Studiosdkuild-tools26.0.1libdx.jar
Posted 江寒雪
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了解决Failed to load D:Android-Studiosdkuild-tools26.0.1libdx.jar相关的知识,希望对你有一定的参考价值。
问题:升级了sdk之后运行出错,Failed to load D:\\android-Studio\\sdk\\build-tools\\26.0.1\\lib\\dx.jar
Unable to build: the file dx.jar was not loaded from the SDK folder
网上找了半天照着解决,结果都不成功,最后硬着头皮看英文最后解决了,记录一下。
第一种办法:
- Delete "26.0.0" in "build-tools" directory
- Use "25.0.2" instead
- Restart eclipse
第二种办法:
- add this in the project.properties of your project:
sdk.buildtools=25.0.2
以上是关于解决Failed to load D:Android-Studiosdkuild-tools26.0.1libdx.jar的主要内容,如果未能解决你的问题,请参考以下文章
Failed to load OpenCL runtime 解决
常见Failed to load ApplicationContext异常解决方案!!
Springboot:解决Failed to load ApplicationContext问题
Failed to load JavaHL Library解决方法