Delphi Android: 将服务添加到应用程序图标后,闪屏图像消失

Delphi Android: After adding service to app icons and splashscreen images disappears

我犯了一个大错误。当我向项目添加新的本地服务时——我的主要应用程序会发送午餐。我得到的这个错误:

[PAClient Error] Error: E2312 Unable to execute '"C:\Users\Public\Documents\Embarcadero\Studio.0\PlatformSDKs\android-sdk-windows\build-tools.0.1\aapt.exe" package -f -M "D:\a\Android\Debug\asas\AndroidManifest.xml" -F "D:\a\Android\Debug\asas\bin\asas-unsigned.apk" -I "C:\Users\Public\Documents\Embarcadero\Studio.0\PlatformSDKs\android-sdk-windows\platforms\android-26\android.jar" -S "D:\a\Android\Debug\asas\res" -A "D:\a\Android\Debug\asas\assets" "D:\a\Android\Debug\asas\library" "D:\a\Android\Debug\asas\classes"' (Error 1)
[PAClient Error] Error: E2312 D:\a\Android\Debug\asas\res\drawable\splash_image_def.xml:2: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/splash_image').

当我转到项目 -> 选项 -> 应用程序时,我看不到任何图标或闪屏图像,它们消失了。当我手动添加这些文件时 - 应用程序编译无误并启动,但只显示半秒黑屏并关闭。在不添加项目服务的情况下,一切都运行良好,应用程序正常启动。我尝试重新安装 Rad Studio - 但没有任何变化......大约一个月前,我创建了带有服务的应用程序并且 Delphi 工作正常。我正在使用 Delphi 10 西雅图。

我不知道我必须做什么...我的项目卡住了。请帮帮我...

问题出在 Project Menager(右上角)。要正确编译和 运行 应用程序,您必须双击主应用程序名称。当你这样做时,主应用程序的名称是粗体的。然后 - 一切都运行良好。就这些了。