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?
I solved the problem by renaming .template to .java-
It works for now. I don’t know if it’ll be an issue later on.
(So, I don’t know how I should mark this question as answered, since none of the above have helped me, to accept them.)