android------eclipse error prompt Failed to load D:\Android\sdk\build-tools\26.0.0-preview\lib\dx.jar

After updating the SDK, there is an issue running the project on ecplise.

As soon as it runs, it prompts this error: Your project contains error(s), please fix them before running your application.

 

The console output is like this:

 

It prompts that the dx.jar file is not loaded, and I tried some methods on the Internet. I found the directory D:\Android\sdk\build-tools\, and the directory is as shown below.

I thought, since he couldn't find the 26.0.0 folder, I deleted it.

I cut the 26.0.0 folder to another location for backup, so as to avoid errors and restore it. Open eclipse again and run it successfully.

Deleted directory map:

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324404974&siteId=291194637