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/12/20 04:24:55
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里添加