Android IntentService not starting

后端 未结 6 399
别那么骄傲
别那么骄傲 2021-01-11 21:54

I know this question has been asked many times, but all the other threads didn\'t solve my issue at all, I can\'t see anything wrong with my code. Maybe I missed something h

相关标签:
6条回答
  • 2021-01-11 22:00

    I had the same problem. To solve it I deleted the Intenservice class, wi an than i created a new class using: right click>new>Service>Service(IntentService)

    0 讨论(0)
  • 2021-01-11 22:02

    I solved a Problem with my Intent Service not starting by using

    Intent intent = new Intent(this,UploadService.class);
        this.startService(intent);
    

    to start my Service

    0 讨论(0)
  • 2021-01-11 22:03

    I was able to run your service by changing the package name to com.cdobiz.wifimapper.services and change the package name of the service in the manifest.

    0 讨论(0)
  • 2021-01-11 22:06

    I had the same problem. I solved it by copying the class content code text. Then I deleted the class and created the same class again by right clicking the package -> New -> Service -> Service(Intent) Then I pasted the same code to the class and it works.

    I Hope this will be helpfull to someone

    0 讨论(0)
  • 2021-01-11 22:17

    try with android:enabled="true"in manifest if the ser

    0 讨论(0)
  • 2021-01-11 22:20

    I solved the problem by making sure that the service is registered in the App-Manifest.

    0 讨论(0)
提交回复
热议问题