I tried adb unistall com.bla.ble but it doesn't working. It just shows me all those possible commands for adb without "Success" or "Fail - or whatever it returns, if adb can't unistall application.
Check your spelling:
adb uninstall
I don't have a Mac,but I think the command should be adb uninstall packagename.
Is it just your typo?
Related
I get the error using the Android Studio (but I get the same if I use ADB from command line).
Every solution I found says that I need to delete the installation folder on the phone:
adb shell rm -r /data/data/com.example.my
but I get a permission denied error.
So what can I do on non rooted device?
(I can't delete the folder from device file browser, the folder /data is empty)
The app is not listed in the Android app manager
adb uninstall com.example.my
gives
Failure
Unfortunately the only fix I have found for a non-rooted phone is to wipe the device and start again. The reason this is happening will be because the folder still exists with one file that wasn't deleted.
Try this out
adb shell pm clear MY_PACKAGE_NAME
or maybe this:
adb install -l -r <'apk_name'>.apk -l = forward lock -r = reinstall
Why don't you uninstall the app using:
adb uninstall com.example.my
This question is related: Android INSTALL_FAILED_UID_CHANGED
I have a curated Android device that downloads an updated APK from a private server and will re-install the app using a shell command, "pm install -f -r "
The command works, but when the re-install happens, the device shows a popup, saying the app stopped (like it crashed).
Is there a safe way to re-install the app?
Should I be stopping the app first, re-installing then re-starting it?
I don't know is there a problem with this "force close" dialog.
You can try the following:
1) Stop app first, after that re-install it
use:
adb shell am kill [options] <PACKAGE>
or on Honeycomb:
adb shell am force-stop <PACKAGE>
where is the package name for you application.
2) I always do like that:
uninstall application:
adb uninstall <PACKAGE>
and install it again:
adb install <PATH TO APK>
The problem with second solution is that all data cached in Android/data will be removed
Hope it helps.
I have adb running and device is connected to my System in debugging mode
I want to find uninstalled apps using command in adb shell.What command can i use?
just type on your terminal or command prompt
adb uninstall <package name of application>
i hope it will work for you.
I am trying to install ADT without using standalone installer.With help of this guide http://forum.xda-developers.com/showthread.php?t=2302780
I am using ubuntu 13.04 , so when I try to call adb or fastboot, it alwasys ends up as permission denied.
parthiban#upk-sys:~$ adb
bash: /media/parthiban/New Volume1/idea-IC-129.1359/android-sdk-linux/platform- tools/adb: Permission denied
parthiban#upk-sys:~$ fastboot
bash: /media/parthiban/New Volume1/idea-IC-129.1359/android-sdk-linux/platform-tools/fastboot: Permission denied
I have edited .bashrc as instructed in that guide . Any idea ??
Seems like your device needs to be accessed by a privileged user. Simply put 'sudo' in front of the command adb or fastboot.
Or you could try and restart the adb server with the root account.
Like
sudo -s
adb kill-server
adb start-server
Afterwards you should be able to call adb (or fastboot)
When I develop android apps, sometimes I need to use device and sometimes emulator, the problem is when both are connected then if I want to uninstall my app from emulator only I had to disconnect the device. There must be a way so that I can specify from which device to uninstall or install the app. I have tried adb -s option like this
adb -s "emulator-5554" uninstsll com.myPackage.myApp
But it always opens the adb help options. May be the command is not correct. Please help.
adb -e uninstall com.myPackage.myApp
will serve your purpose. FYI, option -e is for emulator.