Error:execution failed for task ': App:dexdebug ' .> com.android.ide.common.internal.LoggedErrorException:Failed to Run Command:d:\android\android-sdk\build-tools\21.1.1\dx.bat--dex--no-optimize--output e:\ Open Source Learning \canvas\app\build\ Intermediates\dex\debug--input-list=e:\ Learning \canvas\app\build\intermediates\tmp\dex\debug\inputlist.txterror Code : 1output:unexpected top-level exception:java.lang.runtimeexception:e:\ Liu radiation cen endangered canvas\app\build\intermediates\ Classes\debug:file not Foundat com.android.dex.util.FileUtils.readFile (fileutils.java:51) at Com.android.dx.cf.direct.ClassPathOpener.processOne (classpathopener.java:169) at Com.android.dx.cf.direct.ClassPathOpener.process (classpathopener.java:144) at Com.android.dx.command.dexer.Main.processOne (main.java:632) at Com.android.dx.command.dexer.Main.processAllFiles (main.java:510) at Com.android.dx.command.dexer.Main.runMonoDex (main.java:279) at Com.android.dx.command.dexer.Main.run (main.java:245) at Com.android.dx.command.dexer.Main.main (main.java:214)At Com.android.dx.command.Main.main (main.java:106)
After a difficult period of time that the compiler has a bug, or ADT problems, the use of other people's approach does not solve the problem. A few days to explore, then the project from the Chinese path down to the English path, the result is good.
Summary below:
Under Android Studio, the project path must not be named in Chinese, all in English!
As in an error resolution: loggederrorexception:failed to Run command at the beginning with Android Studio note