As in an error resolution: loggederrorexception:failed to Run command at the beginning with Android Studio note

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.