您好我刚刚更新到AS V1.00发布的最新版本。
Hi I have just updated to the latest version of AS v1.00 release.
但试图运行新创建的项目中,我得到这个错误时:
However when trying to run newly created project i get this error:
错误:未能执行任务:应用程序:dexDebug
Error:Execution failed for task ':app:dexDebug'.
com.android.ide.common.internal.LoggedErrorException:无法运行命令: E:\程序文件(x86)\机器人\ SDK \集结TOOLS \ Android为4.4W \ dx.bat --dex --no-优化 - 输出C:\ Users \用户Vilius \桌面\ AndroidProjects \ voiceTest1 \程序\编译\中间体\ DEX \调试C:\ Users \用户Vilius \桌面\ AndroidProjects \ voiceTest1 \程序\编译\中间体\类\调试 错误code: 255 输出: '章不被识别为内部或外部的命令, 可运行的程序或批处理文件。
com.android.ide.common.internal.LoggedErrorException: Failed to run command: E:\Program Files (x86)\Android\sdk\build-tools\android-4.4W\dx.bat --dex --no-optimize --output C:\Users\Vilius\Desktop\AndroidProjects\voiceTest1\app\build\intermediates\dex\debug C:\Users\Vilius\Desktop\AndroidProjects\voiceTest1\app\build\intermediates\classes\debug Error Code: 255 Output: 'reg' is not recognized as an internal or external command, operable program or batch file.
任何帮助AP preciated!
Any help appreciated!
我也遇到了同样的问题。由于模糊先生曾经说过,你应该添加 C:\ Windows \ System32下
到PATH环境变量。要做到这一点,你应该打开控制面板,进入系统 - >环境变量,找到路径系统变量,并在开头添加以下条目:的%SystemRoot%\ SYSTEM32;
I have encountered the same issue. As Mr. Blurred have said you should add C:\Windows\System32
to your PATH environment variable. To do this you should open Control Panel, go to System -> Environment Variables, find PATH in System Variables and add the following entry at the beginning: %SystemRoot%\system32;
上一篇:月蚀:JVM终止。退出code = 2JVM、code
下一篇:NoClassDefFoundError的Android项目项目、NoClassDefFoundError、Andr、oid