Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • Impossible to start SpiceManager as no service of class

    • 1
    • 0
    • 0
    • 1
    • 0
    • 0
    • 0
    • 619
    Answer it

    I am using robospice api for ASYNC rest webservcie call.I am getting below exception java.lang.RuntimeException: Impossible to start SpiceManager as no service of class : meshyog.jalam.DistributorSignupService is registered in AndroidManifest.xml file ! at com.octo.android.robospice.SpiceManager.checkServiceIsProperlyDeclaredInAndroidManifest(SpiceManager.java:1168) at com.octo.android.robospice.SpiceManager.run(SpiceManager.java:209) at java.lang.Thread.run(Thread.java:841)

    event i declared right class name in xml.eventhough i am receiving the exception .please give me suggestion how to solve

 1 Answer(s)

  • Hello there ,
    You have to register the service in manifest file.
    If you are creating your own service
    then add below:-
    <service
      android:name="<your package>.JsonSpiceService"
      android:exported="false" />
    
    Or you can use
        <service
          android:name="com.octo.android.robospice.JacksonSpringAndroidSpiceService"
          android:exported="false" />
    
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: