Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/delphi/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Delphi Android:将服务添加到应用程序图标和splashscreen图像后消失_Android_Delphi_Service_Runtime Error_Delphi 10 Seattle - Fatal编程技术网

Delphi Android:将服务添加到应用程序图标和splashscreen图像后消失

Delphi Android:将服务添加到应用程序图标和splashscreen图像后消失,android,delphi,service,runtime-error,delphi-10-seattle,Android,Delphi,Service,Runtime Error,Delphi 10 Seattle,我犯了一个很大的错误。当我添加到project新的本地服务时-我的主应用程序dosent午餐。这是我得到的错误: [PAClient Error] Error: E2312 Unable to execute '"C:\Users\Public\Documents\Embarcadero\Studio\17.0\PlatformSDKs\android-sdk-windows\build-tools\26.0.1\aapt.exe" package -f -M "D:\a\Android\Deb

我犯了一个很大的错误。当我添加到project新的本地服务时-我的主应用程序dosent午餐。这是我得到的错误:

[PAClient Error] Error: E2312 Unable to execute '"C:\Users\Public\Documents\Embarcadero\Studio\17.0\PlatformSDKs\android-sdk-windows\build-tools\26.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\17.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运行良好。我使用德尔福10西雅图


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

问题出在“动物园计划”的右上角。若要正确编译和运行应用程序,必须双击主应用程序名称。当你们这样做的时候,主应用程序的名称是粗体的。然后,一切都很顺利。就这些。

你看过这段视频吗?对我知道如何创建服务等。我只是在Delphi中遇到了一个错误。嗯。。。也许有人知道如何修理它?或者类似的东西..您是否检查SDK管理器是否存在任何错误或警告。检查SDK、NDK和Java选项卡。你也用过TMapView吗?是的,我查过了。一切都很好。我的任务是通过双击激活“动物园计划:主应用程序”。。。这么简单,这么容易。。。在我上面提到的视频中,Jim McKeeth广泛使用了项目经理。