Template can not be resolved to a type
        Posted  
        
            by 
                chaoticca
            
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by chaoticca
        
        
        
        Published on 2012-12-16T11:01:38Z
        Indexed on 
            2012/12/16
            11:02 UTC
        
        
        Read the original article
        Hit count: 186
        
I have this code in an android project, which I am working on, where SomeService refers to SomeService.template.
Intent intent = new Intent(getApplicationContext(), SomeService.class);
bindService(intent, conn, 0);
when I run my code, however, I become this error:
"SomeService can not be resolved to a type. - Java Problem"
This code was not written by me. I need it for farther use, but I can not even test, if it does, what it's supposed to be doing. Where should I look for an error?
© Stack Overflow or respective owner