诡异android问题题 Unable to start service Intent { cmp=Com.RuiZhi.Iscan/ Com.RuiZhi.Logic.MainSerice logcat提示的异常:Unable to start service Intent { cmp=Com.RuiZhi.Iscan/Com.RuiZhi.Logic.MainService }: not found,但明明我给这这创
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/06 02:47:48
诡异android问题题 Unable to start service Intent { cmp=Com.RuiZhi.Iscan/ Com.RuiZhi.Logic.MainSerice logcat提示的异常:Unable to start service Intent { cmp=Com.RuiZhi.Iscan/Com.RuiZhi.Logic.MainService }: not found,但明明我给这这创
诡异android问题题 Unable to start service Intent { cmp=Com.RuiZhi.Iscan/ Com.RuiZhi.Logic.MainSerice
logcat提示的异常:
Unable to start service Intent { cmp=Com.RuiZhi.Iscan/
Com.RuiZhi.Logic.MainService }: not found
,但明明我给这这创建了这个类了.
而且我在配置文件中也加了相应的配置
<service android:name=".MainService" >
<intent-filter >
<action android:name="Com.RuiZhi.Logic.MainService"></action>
</intent-filter>
诡异android问题题 Unable to start service Intent { cmp=Com.RuiZhi.Iscan/ Com.RuiZhi.Logic.MainSerice logcat提示的异常:Unable to start service Intent { cmp=Com.RuiZhi.Iscan/Com.RuiZhi.Logic.MainService }: not found,但明明我给这这创
检查一下Service完整包名,应该是Com.RuiZhi.Logic/Com.RuiZhi.Logic.MainService
在包Com.RuiZhi.Iscan里面是没有MainService类的.