I got the latest Android SDK several days ago. I encountered the problem such as the title when I build my android application with Intellij IDEA. I knew the latest android sdk move the dx.jar from platform-tools to a new folder called build-tools. So i want to know how to fix it?
I have the same problem:
Android Pre Dex: Cannot find file D:\sdk\sdk\platform-tools\dx.jar
I resolved it in a simple way. File dx.jar located in D:\sdk\sdk\platform-tools\lib . I moved it in the parent directory. Now it works.
Lots of people encountered this issue: http://youtrack.jetbrains.com/issue/IDEA-107311
It is fixed in IDEA 12.1.4, which you can get at by changing your update settings to "early access". It'll probably be on the main feed shortly. If on linux or mac, you could also set up a symbolic link so the old path resolves. Probably best to just update to the latest version.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With