Use this command in cmd:
adb shell pm uninstall -k com.packagename
For example:
adb shell pm uninstall -k com.fedmich.pagexray
The -k
flag tells the package manager to keep the cache and data directories around, even though the app is removed. If you want a clean uninstall, don't specify -k
.