Unable to start service intent { cmp = com.water.mp3player/.DownLoadService } :not foundUnable to start service intent { cmp = com.water.mp3player/.DownLoadService (has extras) } :not found.Manifest :\x05\x05\x05调用DownLoadService:Intent intent

来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/15 14:47:37
Unabletostartserviceintent{cmp=com.water.mp3player/.DownLoadService}:notfoundUnabletostartserviceint

Unable to start service intent { cmp = com.water.mp3player/.DownLoadService } :not foundUnable to start service intent { cmp = com.water.mp3player/.DownLoadService (has extras) } :not found.Manifest :\x05\x05\x05调用DownLoadService:Intent intent
Unable to start service intent { cmp = com.water.mp3player/.DownLoadService } :not found
Unable to start service intent { cmp = com.water.mp3player/.DownLoadService (has extras) } :not found.
Manifest :
\x05
\x05
\x05
调用DownLoadService:
Intent intent = new Intent();
intent.putExtra("mp3Info" ,mp3Info);
intent.setClass(this,DownLoadService.class);
this.startService(intent);
我的DownLoadService没有拼错,这是为什么会找不到DownLoadService.java?

Unable to start service intent { cmp = com.water.mp3player/.DownLoadService } :not foundUnable to start service intent { cmp = com.water.mp3player/.DownLoadService (has extras) } :not found.Manifest :\x05\x05\x05调用DownLoadService:Intent intent
manifest里要声明service
在manifest里添加