Android eclipse 运行项目报错Unknown error: Unable to build: the file dx.jar was not loaded from the SD解决办法

  • Post author:
  • Post category:其他


在eclipse运行安卓时提示报错

sdk\build-tools\28.0.3……

Unknown error: Unable to build: the file dx.jar was not loaded from the SDK folder!

错误原因是因为sdk的版本过高,导致文件dx.jar不兼容,

只要将sdk\build-tools\对应版本的28.0.3中的dx.jar替换一下文件即可。

链接: https://pan.baidu.com/s/1Lw2-QkVqXkZodV52kAY3nw 提取码: hfey

将文件下载后放入sdk\build-tools\对应版本中的dx.jar文件即可。