Android问题-打开DelphiXE8与DelphiXE10编译空工程提示“[Exec Error] The command exited with code 1.”
2016-10-10 16:49
525 查看
问题情况:开发了半天的D2007代码,想测试一个安桌程序,发现新建空工程,提示失败。
提示如下
Exec Error] The command
PATH
C:\Program Files (x86)\Java\jdk1.8.0_66\bin;
C:\Users\Public\Documents\Embarcadero\Studio\16.0\Bpl;
C:\Users\Public\Documents\Embarcadero\InterBase\redist\InterBaseXE7\IDE_spoof;
D:\Perl64\site\bin;
D:\Perl64\bin;
C:\ProgramData\Oracle\Java\javapath;
C:\windows\system32;
C:\windows;
C:\windows\System32\Wbem;
C:\windows\System32\WindowsPowerShell\v1.0\;
D:\TortoiseSVN\bin;
C:\Program Files (x86)\GTJ2017\GTJ\common\;
d:\Delphi7SE\bin;
d:\Delphi7SE\Projects\BPL;
C:\Users\Public\Documents\RAD Studio\5.0\Bpl;
E:\GMS\Controls\GrandResource\Lib &
D:\XE8\Embarcadero\Studio\16.0\PlatformSDKs\android-sdk-windows\build-tools\21.1.2\dx.bat" --dex --output=
C:\Users\zhujq-a\Desktop\Android实例之程序切换到后台及从后台切换到前台实现(XE8+小米5)\Android\Debug\classes.dex
d:\xe8\embarcadero\studio\16.0\lib\Android\Debug\android-support-v4.dex.jar
d:\xe8\embarcadero\studio\16.0\lib\Android\Debug\apk-expansion.dex.jar
d:\xe8\embarcadero\studio\16.0\lib\Android\Debug\cloud-messaging.dex.jar
d:\xe8\embarcadero\studio\16.0\lib\Android\Debug\fmx.dex.jar
d:\xe8\embarcadero\studio\16.0\lib\Android\Debug\google-analytics-v2.dex.jar
d:\xe8\embarcadero\studio\16.0\lib\Android\Debug\google-play-billing.dex.jar
d:\xe8\embarcadero\studio\16.0\lib\Android\Debug\google-play-licensing.dex.jar
d:\xe8\embarcadero\studio\16.0\lib\Android\Debug\google-play-services.dex.jar
exited with code 1.
问题原因:原因不明
问题处理:
1.更新SDK。
2.删除一部分环境变量中的路径。
3.重启电脑。
PS:反正我的是以这三步就正常了。原因真心不知道。有大神了解的,求指教。
提示如下
Exec Error] The command
PATH
C:\Program Files (x86)\Java\jdk1.8.0_66\bin;
C:\Users\Public\Documents\Embarcadero\Studio\16.0\Bpl;
C:\Users\Public\Documents\Embarcadero\InterBase\redist\InterBaseXE7\IDE_spoof;
D:\Perl64\site\bin;
D:\Perl64\bin;
C:\ProgramData\Oracle\Java\javapath;
C:\windows\system32;
C:\windows;
C:\windows\System32\Wbem;
C:\windows\System32\WindowsPowerShell\v1.0\;
D:\TortoiseSVN\bin;
C:\Program Files (x86)\GTJ2017\GTJ\common\;
d:\Delphi7SE\bin;
d:\Delphi7SE\Projects\BPL;
C:\Users\Public\Documents\RAD Studio\5.0\Bpl;
E:\GMS\Controls\GrandResource\Lib &
D:\XE8\Embarcadero\Studio\16.0\PlatformSDKs\android-sdk-windows\build-tools\21.1.2\dx.bat" --dex --output=
C:\Users\zhujq-a\Desktop\Android实例之程序切换到后台及从后台切换到前台实现(XE8+小米5)\Android\Debug\classes.dex
d:\xe8\embarcadero\studio\16.0\lib\Android\Debug\android-support-v4.dex.jar
d:\xe8\embarcadero\studio\16.0\lib\Android\Debug\apk-expansion.dex.jar
d:\xe8\embarcadero\studio\16.0\lib\Android\Debug\cloud-messaging.dex.jar
d:\xe8\embarcadero\studio\16.0\lib\Android\Debug\fmx.dex.jar
d:\xe8\embarcadero\studio\16.0\lib\Android\Debug\google-analytics-v2.dex.jar
d:\xe8\embarcadero\studio\16.0\lib\Android\Debug\google-play-billing.dex.jar
d:\xe8\embarcadero\studio\16.0\lib\Android\Debug\google-play-licensing.dex.jar
d:\xe8\embarcadero\studio\16.0\lib\Android\Debug\google-play-services.dex.jar
exited with code 1.
问题原因:原因不明
问题处理:
1.更新SDK。
2.删除一部分环境变量中的路径。
3.重启电脑。
PS:反正我的是以这三步就正常了。原因真心不知道。有大神了解的,求指教。
相关文章推荐
- Android问题-打开DelphiXE8与DelphiXE10新建一个空工程提示"out of memory"
- xcode换新版本,原来工程编译报错:linker command failed with exit code 1(use -v to see invocation)
- Xcode编译出现linker command failed with exit code 1问题的解决方案
- mysql.service failed because the control process exited with error code问题
- Android问题-DelphiXE8安装后编译Android提示SDK无法更新问题(XE10也可以解决)
- QT问题系列(5) - The process "E:\Qt\4.8.5\bin\qmake.exe" exited with code 2.
- Cordova工程执行命令报错:platforms/android/gradlew: Command failed with exit code 1 Error output:
- Jenkins 安装启动提示“iJob for jenkins.service failed because the control process exited with error code. See "systemctl status jenkins.service" and "journalctl -xe" for details.”
- Android问题-DelphiXE8安装后编译Android提示SDK无法更新问题(XE10也可以解决)
- The command “” exited with code 9009
- Android开发中使用Eclipse创建工程后提示The project cannot be built until build path errors are resolved问题的解决方法
- QT Creator编译出现的问题 ~exited with code -1073741511
- MSB3073: The command "my.exe :VCEnd" exited with code 14001
- xxx\Microsoft.Common.targets: error MSB3073: The command xxx exited with code 4
- Eclipse问题调试--The import android.view.View.OnClickListener collides with another import statement
- (转)轻松解决 MyEclipse、Eclipse 编译时提示 @Override The method of type must override a superclass method 即 @Override 标注问题
- VC++6.0 IDE的工程用Code::Blocks来打开、编译、调试终极配置方案
- 解决XCode编译错误clang: error: linker command failed with exit code 1
- QT Creator环境升级出现的问题 ~exited with code -1073741511
- 解决XCode编译异常clang: error: linker command failed with exit code 1