【发布时间】:2017-11-09 19:04:22
【问题描述】:
我在 IntelliJ CE 2017.2 上创建了一个新的 Android 项目并获得了this error。我按照答案中的描述添加了 maven 部分。
当我运行使用新项目创建的默认应用程序时,出现错误
执行时出错:am startservice com.test.myapp/com.android.tools.fd.runtime.InstantRunService
启动服务:Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.test.myapp/com.android.tools.fd.runtime.InstantRunService }
错误:应用处于后台 uid 为空
我仍然可以在手机上手动打开该应用程序并且它可以运行,但它不会自动启动并且我收到该错误消息。
【问题讨论】:
标签: android intellij-idea