HarmonyOS 鸿蒙Next 安装时报错 Failure[SERVICE_UNAVAILABLE]
HarmonyOS 鸿蒙Next 安装时报错 Failure[SERVICE_UNAVAILABLE]
运行鸿蒙项目到智能手表后安装时报Failure[SERVICE_UNAVAILABLE]
;然后按照官方给的解决办法,无法解决。
日志如下:
2022-04-26 15:15:08,262 [99871318] INFO - ild.invoker.GradleBuildInvoker - About to execute Gradle tasks: [:entry:assembleDebug]
2022-04-26 15:15:08,273 [99871329] INFO - s.plugins.gradle.GradleManager - Instructing gradle to use java from D:/devecostudio-3.0.1.822/DevEco Studio 3.0.1.822/jbr
2022-04-26 15:15:08,274 [99871330] INFO - ild.invoker.GradleBuildInvoker - Build command line options: [-Pandroid.injected.invoked.from.ide=true, -Pandroid.injected.attribution.file.location=D:\jskitdemo\Javatojskit\build, -DisDebug=false]
2022-04-26 15:15:08,279 [99871335] INFO - xecution.GradleExecutionHelper - Passing command-line args to Gradle Tooling API: -Pandroid.injected.invoked.from.ide=true -Pandroid.injected.attribution.file.location=D:\jskitdemo\Javatojskit\build -DisDebug=false
2022-04-26 15:15:19,015 [99882071] INFO - radle.HarmonyBuildTaskProvider - Gradle invocation completed, success = true
2022-04-26 15:15:19,020 [99882076] INFO - ild.invoker.GradleBuildInvoker - Gradle build finished in 10 s 743 ms
2022-04-26 15:15:19,023 [99882079] INFO - ice.AbstractUrlPathServiceImpl - get domain from GRS Service:https://developer.harmonyos.com
2022-04-26 15:15:19,023 [99882079] INFO - ice.AbstractUrlPathServiceImpl - get url with grs and config is :https://developer.harmonyos.com/cn/docs/documentation/doc-guides/tools_overview-0000001053582387
2022-04-26 15:15:19,272 [99882328] INFO - riptions.ApplicationSubscriber - HarmonyCustomTopic message logged
2022-04-26 15:15:19,284 [99882340] INFO - armony.run.tasks.DeployHapTask - Starting to execute the deployment task.
2022-04-26 15:15:19,285 [99882341] INFO - armony.run.tasks.DeployHapTask - Force stopping com.harmony.wearable
2022-04-26 15:15:19,439 [99882495] INFO - armony.run.tasks.DeployHapTask - Ending force stop with result: true
2022-04-26 15:15:19,439 [99882495] INFO - armony.run.tasks.DeployHapTask - Starting to uninstall com.harmony.wearable.
2022-04-26 15:15:19,695 [99882751] INFO - armony.run.tasks.DeployHapTask - Ending uninstall with result: true
2022-04-26 15:15:19,780 [99882836] INFO - armony.run.tasks.DeployHapTask - Starting to push D:\jskitdemo\Javatojskit\entry\build\outputs\hap\debug\entry-debug-rich-signed.hap to /sdcard/066aa5035ec4454dba43c3b2208817b5/entry-debug-rich-signed.hap.
2022-04-26 15:15:19,936 [99882992] INFO - armony.run.tasks.DeployHapTask - End pushing successfully.
2022-04-26 15:15:19,936 [99882992] INFO - riptions.ApplicationSubscriber - HarmonyCustomTopic message logged
2022-04-26 15:15:19,936 [99882992] INFO - armony.run.tasks.DeployHapTask - Starting to install to /sdcard/066aa5035ec4454dba43c3b2208817b5/.
2022-04-26 15:15:22,520 [99885576] INFO - mpl.AdbDeviceFileSystemService - Device changed: SBGTQ21413000006
2022-04-26 15:15:22,611 [99885667] WARN - i.harmony.run.tasks.LaunchTask - Execute exception: Failure[SERVICE_UNAVAILABLE]
2022-04-26 15:15:22,612 [99885668] INFO - riptions.ApplicationSubscriber - CommonCustomTopic message logged
2022-04-26 15:15:22,612 [99885668] INFO - armony.run.tasks.DeployHapTask - Ending install with result: false
2022-04-26 15:15:22,612 [99885668] INFO - armony.run.tasks.DeployHapTask - Removing temporary directory /sdcard/066aa5035ec4454dba43c3b2208817b5
2022-04-26 15:15:22,821 [99885877] INFO - mpl.AdbDeviceFileSystemService - Device changed: SBGTQ21413000006
2022-04-26 15:15:22,832 [99885888] INFO - armony.run.tasks.DeployHapTask - Ending remove temp directory with result: true
2022-04-26 15:15:22,834 [99885890] WARN - ny.run.HarmonyLaunchTaskRunner - Some launch tasks failed. Launching the debugger stopped.
2022-04-26 15:15:22,834 [99885890] INFO - run.AndroidLogcatOutputCapture - stopAll()
2022-04-26 15:15:30,460 [99893516] INFO - j.ide.actions.RevealFileAction - Exit code 1
2022-04-26 15:15:30,653 [99893709] INFO - rationStore.ComponentStoreImpl - Saving appHttpConfigurable took 15 ms
更多关于HarmonyOS 鸿蒙Next 安装时报错 Failure[SERVICE_UNAVAILABLE]的实战系列教程也可以访问 https://www.itying.com/category-93-b0.html
3 回复
楼主你好,请仔细检查config.json里面的权限配置参数。
更多关于HarmonyOS 鸿蒙Next 安装时报错 Failure[SERVICE_UNAVAILABLE]的实战系列教程也可以访问 https://www.itying.com/category-93-b0.html
开发者您好,相关问题已经反馈给工作人员,稍后会再次回复您,感谢您对华为开发者论坛的支持。