【问题标题】:package appended when debugging android intentService调试android intentService时附加的包
【发布时间】:2023-03-19 06:42:01
【问题描述】:

已搜索但未找到调试 IntentService 所需的答案。
当调用 Intent x = new Intent (context, xyz.class) 时,调试器显示 intent{cmp= line read cmp=package.name.test/package.name.class 不能在清单中解决。

我需要调试清单来解决这个问题吗?

【问题讨论】:

    标签: android package intentservice malformed


    【解决方案1】:

    原来mContext = InstrumentationRegistry.getContext(); 将上下文中的包名设置为 packagename.test,这就是找不到我的 IntentService 的原因。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2016-12-07
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-08-26
      • 1970-01-01
      • 2014-08-08
      相关资源
      最近更新 更多