Trying to run a wear counterpart of an Android app directly on Moto 360, after having it connected and listed as a target device.
ADB can see it and communicates fine.
However, the deployment message is not progressing for a long time, about 10 mins.
Eventually, the app gets installed, but this makes continuous development on the device almost impossible.
Is there any way to speed up this installation? I really doubt that the Bluetooth link is that slow.
There may be many plugins in Android Studio that you are not using it. Disabling it will free up some space and reduce complex processes. To do so, Open Preferences >> Plugins and Disable the plugins you are not using.
Android Studio 3.2 is the best way for app developers to cut into the latest Android 9 Pie release and build the new Android App bundle.
You can debug your wearable over Bluetooth by routing its debug output to the handheld device that's connected to your development machine.
Well sometimes you don't really have the option of using an emulator.
My experiences with deploying direct on the device is pretty much the same as yours.
For me, the initial deployments were quick but eventually they began to slow down after a few redeployments
What worked for me was this:
Install TaskManager on the wear (https://play.google.com/store/apps/details?id=rocketstartups.weartaskmanager&hl=en)
Before a deploy, open Task Manager on the wear and "close all" apps.
Now deploy. I get consistent deployments within a minute.
Hope it helps
I had the same issue and started using Emulator. Emulator is pretty fast since there is not data transfer over bluetooth.
To setup an emulator, you can use the following tutorials. http://www.binpress.com/tutorial/how-to-create-a-custom-android-wear-watch-face/120 https://developer.android.com/training/wearables/apps/creating.html
The next update of android wear is coming up with Wi-fi. With that we should be able to deploy it in Wi-fi itself.
http://androidcommunity.com/moto-360-getting-wifi-support-after-android-wear-update-20150421/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With