Mariuxtheone / Teleport

Data Sync & Messaging Library for Android Wear
370 stars 47 forks source link

WearService #20

Closed kla4dj closed 9 years ago

kla4dj commented 9 years ago

Hi there, I am trying to implement the "WearService"of the Teleport-master-App in my App, but it seems that I am missing the important part. I copied all the relevant codes into my App. Also tried to fully understand and minimize it on the Teleport-master side as well, to see what is really relevant. But as soon as I wanted to change names of the class "WearService" (Teleport-master-App) I saw that there might be missing an important part: The logcat says the following when renaming the class:

java.lang.RuntimeException: Unable to instantiate service com.mariux.teleport.WearService: java.lang.ClassNotFoundException: Didn't find class "com.mariux.teleport.WearService" on path: DexPathList[[zip file "/data/app/com.mariux.teleport-1/base.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]

So whats the magic? :-)

kla4dj commented 9 years ago

Found it :-D I need to include it in the Manifest.