How do I reinstall an app using ADB?

How do I reinstall an app using ADB?

“you can simply use “adb shell cmd package install-existing ” in ADB and you’ll get the package back .”

What to do if an app is not uninstalling?

Here’s how:

  1. Long press the app in your app list.
  2. Tap app info. This will bring you to a screen that displays information about the app.
  3. The uninstall option may be grayed out. Select disable.

Why the app is not uninstalling?

I. Disable Apps in Settings

  • On your Android phone, open Settings.
  • Navigate to Apps or Manage Applications and select All Apps (may vary depending on your phone’s make and model).
  • Now, look for the apps that you want to remove. Can’t find it?
  • Tap the app name and click on Disable. Confirm when prompted.

How to uninstall updates of an Android system app through ADB?

You can see a list of current apps/pacakges with adb shell pm list packages If you have the old .apk , you can reinstall with adb install -r again. http://developer.android.com/tools/help/adb.html adb uninstall should uninstall updates to the system applications.

Why does ADB say uninstall failed Stack Overflow?

On my Linux machines, adb is appending a DOS newline which causes ‘Failure’ because uninstall thinks the CR character is part of the package name. Also remove ‘-1.apk’ from the end of the package-1.apk filename. In my case, i have a phone that is in permanent ‘Safe mode’ so only apps under /system/app/ have a chance of running.

How to uninstall an app in ADB shell pm?

I find that adb shell pm uninstall works consistently, where adb uninstall does not. Open your application Manifest and check the application’s package first. After that, be sure that your device is set into debugger mode. Maybe you’re trying to uninstall an app that is a phone administrator.

Why is my ADB not working on my Android?

The ‘ Failure ‘ problem has more to do with the adb shell appending a DOS line ending ^M (on CentOS Linux anyway). Put the list of applications to uninstall in a file and copy to the android device directly.