android - WearableListenerService only starting after application is installed - then never again -


i'm developing android applciation android wear support.

the main application sends data android wear apps wearablelistenerservice, makes notification , displays it.

my problem if restart watch, android wear app can never started again - since listener service on wear device doesnt start mobile app!

i have tried force closing app , start again, reboot phone - no matter listenerservice can never started again.

it works when install app android studio, , work until watch restarted. (i can reboot phone , close app)

have had similar problem or know solution this?

so i'm providing more info:

when watch boots up, captured message in logs (which apparently root of problem):

11-27 17:22:08.974      803-830/com.google.android.clockwork.packageinstaller i/wearablepkginstaller﹕ sent delete request com.example.distributedmediaplayer 11-27 17:22:09.074      473-509/system_process i/activitymanager﹕ force stopping com.example.distributedmediaplayer appid=10032 user=-1: uninstall pkg 11-27 17:22:09.084      473-517/system_process w/packagemanager﹕ couldn't delete native library directory /data/app-lib/com.example.distributedmediaplayer 11-27 17:22:09.274      473-517/system_process i/activitymanager﹕ force stopping com.example.distributedmediaplayer appid=10032 user=0: pkg removed 11-27 17:22:09.574      803-814/com.google.android.clockwork.packageinstaller i/wearablepkginstaller﹕ package com.example.distributedmediaplayer uninstalled. 11-27 17:22:44.721    1166-1182/android.process.acore d/voicemailcleanupservice﹕ cleaning data package: com.example.distributedmediaplayer 11-27 17:22:44.891      637-637/com.google.android.gms i/configfetchservice﹕ packagereceiver: intent { act=android.intent.action.package_removed dat=package:com.example.distributedmediaplayer flg=0x4000010 cmp=com.google.android.gms/.config.configfetchservice$packagereceiver (has extras) } 11-27 17:22:44.901      637-637/com.google.android.gms i/configfetchservice﹕ onstartcommand intent { act=android.intent.action.package_removed dat=package:com.example.distributedmediaplayer cmp=com.google.android.gms/.config.configfetchservice (has extras) } 

so question becomes, makes application uninstall when device starts?

this service not running time - in fact, it's running during messages processing. google play services wear api responsible starting wearablelistenerservice, long contains correct intentfilter set in androidmanifest don't have special.


Comments

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -