将自定义JAR库添加到Android项目时Delphi10.2中的编译器错误

风流不在谈锋胜,袖手无言味最长。这篇文章主要讲述将自定义JAR库添加到Android项目时Delphi10.2中的编译器错误相关的知识,希望能为你提供帮助。
我有一个问题,将JAR文件添加到我的项目,我将文件google-play-services-gcm-7.0.0.jargoogle-play-services-gcm-7.0.0.dex.jar复制到C:Program Files (x86)EmbarcaderoStudio19.0libandroiddebug,在项目管理器中,在库中我按下恢复系统文件为默认,现在当我编译我得到这个错误..,如何修复这个 ?
PS:我正在学习本教程:https://www.youtube.com/watch?v=0ncuzTy03iE
[Exec Error] The command "PATH C:Program Filesjavajdk1.8.0_60in; C:UsersPublicDocumentsEmbarcaderoInterBase edistInterBaseXE7IDE_spoof; C:ProgramDataOracleJavajavapath; C:Program Files (x86)EmbarcaderoStudio19.0in; C:UsersPublicDocumentsEmbarcaderoStudio19.0Bpl; C:Program Files (x86)EmbarcaderoStudio19.0in64; C:UsersPublicDocumentsEmbarcaderoStudio19.0BplWin64; C:Program Files (x86)InteliCLS Client; C:Program FilesInteliCLS Client; C:Windowssystem32; C:Windows; C:WindowsSystem32Wbem; C:WindowsSystem32WindowsPowerShellv1.0; C:Program Files (x86)IntelIntel(R) Management Engine ComponentsDAL; C:Program FilesIntelIntel(R) Management Engine ComponentsDAL; C:Program Files (x86)IntelIntel(R) Management Engine ComponentsIPT; C:Program FilesIntelIntel(R) Management Engine ComponentsIPT; C:Program Files (x86)NVIDIA CorporationPhysXCommon; C:Program FilesIntelWiFiin; C:Program FilesCommon FilesIntelWirelessCommon; C:WINDOWSsystem32; C:WINDOWS; C:WINDOWSSystem32Wbem; C:WINDOWSSystem32WindowsPowerShellv1.0; C:Program Filesdotnet; C:WINDOWSSystem32OpenSSH; C:UsersAL-BusaidiAppDataLocalMicrosoftWindowsApps; ; C:UsersAL-BusaidiAppDataLocalProgramsFiddler; %USERPROFILE%AppDataLocalMicrosoftWindowsApps & "D:adt-bundle-windows-x86-20131030sdkuild-tools21.1.2dx.bat" --dex --output="C:UsersAL-BusaidiDownloadsfontes-push4MobileAndroidDebugclasses.dex" "c:program files (x86)embarcaderostudio19.0libAndroidDebugandroid-support-v4.dex.jar" "c:program files (x86)embarcaderostudio19.0libAndroidDebugcloud-messaging.dex.jar" "c:program files (x86)embarcaderostudio19.0libAndroidDebugfmx.dex.jar" "c:program files (x86)embarcaderostudio19.0libAndroidDebuggoogle-analytics-v2.dex.jar" "c:program files (x86)embarcaderostudio19.0libAndroidDebuggoogle-play-billing.dex.jar" "c:program files (x86)embarcaderostudio19.0libAndroidDebuggoogle-play-licensing.dex.jar" "c:program files (x86)embarcaderostudio19.0libAndroidDebuggoogle-play-services-gcm-7.0.0.dex.jar" "c:program files (x86)embarcaderostudio19.0libAndroidDebuggoogle-play-services.dex.jar" " exited with code 2.
当我从图书馆中放出google-play-services-gcm-7.0.0.jargoogle-play-services-gcm-7.0.0.dex.jar时,它成功编译。
答案【将自定义JAR库添加到Android项目时Delphi10.2中的编译器错误】试着跑

"D:adt-bundle-windows-x86-20131030sdkuild-tools21.1.2dx.bat" --dex --output="C:UsersAL-BusaidiDownloadsfontes-push4MobileAndroidDebugclasses.dex" "c:program files (x86)embarcaderostudio19.0libAndroidDebugandroid-support-v4.dex.jar" "c:program files (x86)embarcaderostudio19.0libAndroidDebugcloud-messaging.dex.jar" "c:program files (x86)embarcaderostudio19.0libAndroidDebugfmx.dex.jar" "c:program files (x86)embarcaderostudio19.0libAndroidDebuggoogle-analytics-v2.dex.jar" "c:program files (x86)embarcaderostudio19.0libAndroidDebuggoogle-play-billing.dex.jar" "c:program files (x86)embarcaderostudio19.0libAndroidDebuggoogle-play-licensing.dex.jar" "c:program files (x86)embarcaderostudio19.0libAndroidDebuggoogle-play-services-gcm-7.0.0.dex.jar" "c:program files (x86)embarcaderostudio19.0libAndroidDebuggoogle-play-services.dex.jar"

知道错误你有:)

    推荐阅读