How to run app on moto 360 from android studio -
i'm using sample watchface app , have followed steps (developer.android + several variations site) run on watch no joy. wondering if can advise please.
phone (moto 4g) connected pc usb. usb debugging on in settings , debugging on bluetooth on in android wear app. paired watch (moto 360 2gen) has adb debugging enabled , debugging on bluetooth enabled.
android studio lists phone if run phone module part of app; offers no compatible devices if run wearable module. adb devices command lists phone. on phone in android wear app under debugging on bluetooth says host: disconnected target: connected.
when on phone in settings, apps watchface app has appeared there's nothing on watch (tried change watch face, nothing new; no new app).
i tried
adb forward tcp:4444 localabstract:/adb-hub adb connect localhost 4444
but second command gives 'unable connect localhost:4444 ... no connection made because target machine actively refused (10061).' tried
adb connect 127.0.0.1:4444
which connect says it's offline.
can help?
after trying above procedure many times seems works , doesn't! haven't yet found makes difference suspect either (a) not leaving enough time between connecting phone , entering adb commands or (b) simple pc running slowly.
Comments
Post a Comment