unable to start service intent

intent.setClass(this, DownloadService.class);

<service android:name=".service.DownloadService"/>

上面这样写就错了,

下面是对的。


intent.setClass(Mp3ListActivity.this, DownloadService.class);

<service android:name=".service.DownloadService"></service>

你可能感兴趣的:(unable to start service intent)