adb uninstall

If We want to uninstall the apk, using adb, we need to know the package name of the application. Using package name, use below command. [ Note: we considered the package name as “com.android.helloword” , you can use your application package name ]

 $ adb shell pm uninstall com.android.helloworld 

OR

 $ adb uninstall com.android.helloworld 

Now, lets say you have a development board / device and you want to know where the application/service is installed as part of system apps, and want to delete this permanantly, then use the below procedure,

 $ adb shell 
 $ su 
 $ mount -o rw,remount /system 
 $ cmd packages com.android.helloworld 

Above command will return, where this helloworld system application in installed in /system/app OR /system/priv-app

 $ rm PATH_TO_APK_AS_RETURNED_ABOVE 
Flutter Tutorial - Remove Back Butt... x
Flutter Tutorial - Remove Back Button from AppBar | automaticallyImplyLeading | YouTube #Short

Leave a Comment

Sign up to our newsletter!

ADB Commands Android Android Applications Android Build system Application Libraries Application Stack / User Interface Bash / Shell Scripts Bluetooth driver Cloud Technologies Commands and Packages Compilation Content Management System Core Kernel C Programs Development, Debugging and Performance Tools Development and Build Development Environment Setup Django & REST Api Errors & Failures Git Hardware Platforms HTML JAVA Programs Linux, OS Concepts and Networking Linux Device Drivers Linux Host, Ubuntu, SysAdmin Linux Kernel Linux Networking Middleware Libraries, HAL Multimedia NDK / Middleware / HAL Operating System Concepts PHP Programming Languages Scripting and Automation Search Engine Optimisation ( SEO ) Social Media Source Code Management ( SCM ) System Administration, Security Testing and Debugging Uncategorized Web Design and Development Website Hosting Wordpress Yocto Embedded Linux