加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 编程开发 > Java > 正文

java – 即时运行不起作用

发布时间:2020-12-15 00:47:05 所属栏目:Java 来源:网络整理
导读:当我点击运行时,我在 android studio 2.3中遇到了这个问题: 03/09 19:02:36: Launching app$adb shell am startservice com.a890m.s/com.android.tools.fd.runtime.InstantRunServiceError while executing: am startservice com.a890m.s/com.android.tools
当我点击运行时,我在 android studio 2.3中遇到了这个问题:
03/09 19:02:36: Launching app
$adb shell am startservice 

com.a890m.s/com.android.tools.fd.runtime.InstantRunService
Error while executing: am startservice com.a890m.s/com.android.tools.fd.runtime.InstantRunService

Starting service: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.a890m.s/com.android.tools.fd.runtime.InstantRunService }

Error: Not found; no service started.

解决方法

此问题仅适用于仍在谷歌问题 Tracker中打开的Android Studio 2.3 您可以通过在Android工作室中禁用即时运行来解决它(暂时不是因为需要即时运行而不是渗透性解决方案). goto-> Android Studio – >偏好 – >构建,执行,部署 – >即时运行

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读