I have the same problem others have had, but I can't get my code to work.
I have to java classes, Test.java and TestService.java and when I try to start Service or bind Service, I always get error listed above. I have tried the recommended standard solutions in here, but it didn't work. I will try to rename the java files and start a new project to see if that works as noted in here.
Then I saw this link by Vogella that I have to have a google user registered on the device. Is that what my problem is or am I confusing the errors (maybe 'intent.REGISTER' refers to something else).
Any suggestions on this will be greatly appreciated.
4.3. Register your application
Run your application, maintain your registered user and press the button. Check LogCat for the registration ID.
If you see the following message:
" Unable to start service Intent {act=com.google.android.c2dm.intent.REGISTER ... }: not found"
I've tried this, both on my phone and on the simulator.
Permissions:
<application android:icon="@drawable/gyroscopic" android:label="@string/app_name">
...
<activity android:name="Test"></activity>
<service android:name="TestService"></service>
....
</application>