Android Studio 2.3更新未打开应用程序[Instant Run Service] [英] Android Studio 2.3 Update not opening app [Instant Run Service]

查看:245
本文介绍了Android Studio 2.3更新未打开应用程序[Instant Run Service]的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近将Android Studio更新为2.3。当我点击即时运行按钮时,它会编译应用程序,但不会在Android设备上打开应用程序。即使热插拔没有启用后,它显示没有活动的应用程序启动。任何想法我可能做错了。我尝试创建一个新项目,但是也存在这个错误。

I recently updated the Android Studio to 2.3. When I hit the instant run button, It compiles the app but doesn't open the app on the Android device. Even 'Hot Swap' is not enabled after that, it shows "No active 'app' launch". Any idea what I might be doing wrong. I tried creating a new project, but this error exists in that also.

我收到以下错误消息:

I am getting below error:

 Error while executing: am startservice
 com.example/com.android.tools.fd.runtime.InstantRunService Starting
 service: Intent { act=android.intent.action.MAIN
 cat=[android.intent.category.LAUNCHER]
 cmp=com.example/com.android.tools.fd.runtime.InstantRunService }
 Error: Not found; no service started.


推荐答案

更新后得到同样的错误。正如已经指出的那样,这个主题有一个公开的讨论。到目前为止,唯一的解决方法是您实际上禁用 即时运行,这是唯一对我有效的事情。您可以在首选项 - >构建,执行,部署 - >即时运行

Got the same error after updating. As already noted, there's an open discussion on this topic. So far, the only work-around is that you actually disable instant run, that's the only thing that worked for me. You can do so in Preferences -> Build, Execution, Deployment -> Instant Run:

关掉它并再次运行应用程序,它就可以运行。这是我们现在可以做的最好的。

Turn it off and run the app again and it's going to work. That's the best we can do at this point.

这篇关于Android Studio 2.3更新未打开应用程序[Instant Run Service]的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆