Impossible to start spice manager as no service (Robospice)

203 views Asked by At

When I am trying to run Robospice Retrofit sample code I got this Error.

java.lang.RuntimeException: Impossible to start SpiceManager as no service of class : com.example.dinesh.basicfragments.SampleRetrofitService is registered in AndroidManifest.xml file !

How to solve this issue ?

1

There are 1 answers

0
once2go On BEST ANSWER

Add your service to AndroidMAnifest file like this:

<service
        android:name=".SampleRetrofitService"
        android:exported="false" />