KevinTydlacka
KevinTydlacka

Reputation: 1293

Uninstall Android Wear App From Real Device

Might be a noob question but for the life of me I can't figure out how to uninstall an app from my Samsung Gear Live.

I need to uninstall the debug version so I know I have a fresh production version when I download it from the Google Play store.

Upvotes: 30

Views: 26675

Answers (7)

A.Sanchez.SD
A.Sanchez.SD

Reputation: 2070

On the wear device: Settings -> Apps & Notifications -> App Info -> App you want to uninstall -> Uninstall

Upvotes: 2

Vyacheslav
Vyacheslav

Reputation: 27221

I would suggest to use 127.0.0.1 instead of localhost

adb -s 127.0.0.1:4444 uninstall example.com.yourappname

Upvotes: 0

Eli
Eli

Reputation: 768

Even after uninstall, my watch (moto360 second gen, running android wear 1.5.03336103, Android os 6.0.1) shows the uninstalled apps. The apps was installed directly on the wear device from Studio.

Upvotes: -1

Lee Hounshell
Lee Hounshell

Reputation: 862

First use 'adb devices' to find all connected devices:

$ C:\Program Files (x86)\Google\Cloud SDK>adb devices
List of devices attached
603KPSL029398   device
5c9cc2e0        device

Then run uninstall for app using adb on the desired device:

$ C:\Program Files (x86)\Google\Cloud SDK>adb -s 603KPSL029398 uninstall com.example.android.support.wearable.notifications
Success

Upvotes: 3

Wayne Piekarski
Wayne Piekarski

Reputation: 3232

When you install an APK via the Play Store or via adb to the phone, the embedded wearable APK is automatically installed to the wearable.

If you are developing and want to play around with things, or if you are doing debug builds which do not do the embedded APK, you will need to use adb uninstall to both the phone and the wearable.

You can use adb devices to discover the names of the connected devices, and then adb -s followed by the name of the device. You use the internal package name with the uninstall command.

Upvotes: 5

matiash
matiash

Reputation: 55370

I don't know if there is a user interface for this. The easiest way I've found is via adb:

adb uninstall [-k] <package> - remove this app package from the device
                               ('-k' means keep the data and cache directories)

So, for example:

adb uninstall com.example.testandroidwear

As both @WaynePiekarski and @Thoast83 have mentioned, if the Android Wear device is connected via Bluetooth instead of a direct USB connection (e.g. when testing with the Moto 360) then you need to use adb -s <device> <command> as instructed by Directing Commands to a Specific Emulator/Device Instance in the adb documentation.

In this case, it might be something like:

adb -s localhost:4444 uninstall com.example.testandroidwear

provided you have established the connection exactly as described in Debugging over Bluetooth (otherwise, adjust the port number accordingly).

Upvotes: 70

Thoast83
Thoast83

Reputation: 529

In case anyone is debugging via bluetooth and stumbles upon this thread, write:

adb -s localhost:4444 uninstall example.com.yourappname

Upvotes: 18

Related Questions