zoukankan      html  css  js  c++  java
  • Android问题-打开DelphiXE8与DelphiXE10编译空工程提示“[Exec Error] The command exited with code 1.”

    问题情况:开发了半天的D2007代码,想测试一个安桌程序,发现新建空工程,提示失败。

    提示如下

    Exec Error] The command 
    PATH
    C:Program Files (x86)Javajdk1.8.0_66in;
    C:UsersPublicDocumentsEmbarcaderoStudio16.0Bpl;
    C:UsersPublicDocumentsEmbarcaderoInterBase edistInterBaseXE7IDE_spoof;
    D:Perl64sitein;
    D:Perl64in;
    C:ProgramDataOracleJavajavapath;
    C:windowssystem32;
    C:windows;
    C:windowsSystem32Wbem;
    C:windowsSystem32WindowsPowerShellv1.0;
    D:TortoiseSVNin;
    C:Program Files (x86)GTJ2017GTJcommon;
    d:Delphi7SEin;
    d:Delphi7SEProjectsBPL;
    C:UsersPublicDocumentsRAD Studio5.0Bpl;
    E:GMSControlsGrandResourceLib &
    D:XE8EmbarcaderoStudio16.0PlatformSDKsandroid-sdk-windowsuild-tools21.1.2dx.bat" --dex --output=
    C:Userszhujq-aDesktopAndroid实例之程序切换到后台及从后台切换到前台实现(XE8+小米5)AndroidDebugclasses.dex
    d:xe8embarcaderostudio16.0libAndroidDebugandroid-support-v4.dex.jar
    d:xe8embarcaderostudio16.0libAndroidDebugapk-expansion.dex.jar
    d:xe8embarcaderostudio16.0libAndroidDebugcloud-messaging.dex.jar
    d:xe8embarcaderostudio16.0libAndroidDebugfmx.dex.jar
    d:xe8embarcaderostudio16.0libAndroidDebuggoogle-analytics-v2.dex.jar
    d:xe8embarcaderostudio16.0libAndroidDebuggoogle-play-billing.dex.jar
    d:xe8embarcaderostudio16.0libAndroidDebuggoogle-play-licensing.dex.jar
    d:xe8embarcaderostudio16.0libAndroidDebuggoogle-play-services.dex.jar
    exited with code 1.

    问题原因:原因不明

    问题处理:

    1.更新SDK。

    2.删除一部分环境变量中的路径。

    3.重启电脑。

    PS:反正我的是以这三步就正常了。原因真心不知道。有大神了解的,求指教。

  • 相关阅读:
    fastcgi性能调优(转)
    nginx location配置(转)
    elasticsearch配置文件详解(转)
    linux常用信号集
    phpstorm快捷键总结
    浅谈MVC中的service层(转)
    php中的内存管理的介绍(转)
    使用C语言开发PHP扩展(转)
    Linux恢复误删除的文件或者目录(转)
    笔记整理3——python实现MAC分析地理位置
  • 原文地址:https://www.cnblogs.com/FKdelphi/p/5946435.html
Copyright © 2011-2022 走看看