Unable to start Service Intent

前端 未结 6 1006
被撕碎了的回忆
被撕碎了的回忆 2020-11-27 15:05

I have a service class. I have exported this class to jar and I have embed the jar in my client app.

When needed, I call the service class. When I try to do this, I

6条回答
  •  余生分开走
    2020-11-27 15:24

    For anyone else coming across this thread I had this issue and was pulling my hair out. I had the service declaration OUTSIDE of the '< application>' end tag DUH!

    RIGHT:

    
    ...
    
        
            ...
            
    
        
    
        
            
                ...
            
                
    
    
    
    

    WRONG but still compiles without errors:

    
    ...
    
        
            ...
        
    
    
    
        
    
        
            
                ...
            
                
    
    
    

提交回复
热议问题