最近做ANT混淆的时候发现编译不过去,找了半天没有明白是什么错误
,请各位大神帮忙解答一下。
-dex:
[dex] input: F:\workspace\yunmaApplication\bin\proguard\obfuscated.jar
[dex] Converting compiled files and external libraries into F:\workspace\yunmaApplication\bin\classes.dex...
[dx] 'C:\Program' 不是内部或外部命令,也不是可运行的程序
[dx] 或批处理文件。
BUILD FAILED
F:\adt-bundle-windows-x86_64-20130917\sdk\tools\ant\build.xml:892: The following error occurred while executing this line:
F:\adt-bundle-windows-x86_64-20130917\sdk\tools\ant\build.xml:894: The following error occurred while executing this line:
F:\adt-bundle-windows-x86_64-20130917\sdk\tools\ant\build.xml:906: The following error occurred while executing this line:
F:\adt-bundle-windows-x86_64-20130917\sdk\tools\ant\build.xml:284: null returned: 1
感觉是路径里面有空格的原因
C:\Program
是不是ANT的环境变量设置的不对呀?是不是只设置到C:\Program了啊?
电脑中这个完整路径一般是“C:\Program Files”,由于中间有空格,所以它只识别了前半段“C:\Program”当然各种找不到。