“File not Found” exception in dexDebug task of build

前端 未结 2 1517
不思量自难忘°
不思量自难忘° 2020-11-29 12:49
Error:Execution failed for task \':app:dexDebug\'.
> com.android.ide.common.internal.LoggedErrorException: Failed to run command:
    D:\\AndroidSDK\\adt-bundle-w         


        
2条回答
  •  [愿得一人]
    2020-11-29 13:19

    Try locating your projects in a path that doesn't have non-ASCII characters in it; your username is in Unicode, and the build system can't handle pathnames that have non-ASCII Unicode.

    This is actually a bug in Java and is quite difficult to fix; see https://code.google.com/p/android/issues/detail?id=56102 for details. The crux of it is that Java's launcher uses the wrong Windows API call to fetch its command line from the OS.

提交回复
热议问题