2017-04-20 69 views
0

已經搜索並且未找到調試IntentService所需的答案。
當調用Intent x = new Intent(context,xyz.class)時,調試器顯示意圖{cmp = line read cmp = package.name。 test /package.name.class無法在清單中解析。在調試android intentService時附加了包

我需要一個調試清單來解決這個問題嗎?

回答

0

原來,mContext = InstrumentationRegistry.getContext(); 將上下文中的包名設置爲packagename.test,這是我的IntentService找不到的原因。