How to un-install .apk file from Windows

Uninstalling apk file from Windows for Android SDK

First we hope you have already updated the path environment variable by adding the Android SDK/tools path into it.

Now first see how many apk are there in your android emulator. Give the following command...


C:\Android\android-sdk\tools> adb shell ls data/app
ApiDemos.apk
GestureBuilder.apk
SoftKeyboard.apk
CubeLiveWallpapers.apk
com.example.test.apk
com.example.gridviewTest.apk
com.example.android.apis.graphics.apk
com.rcreations.send2printer.apk
**Note: Here as you already know that Android is a Linux based OS, so you need  to use ls command to see all .apk files in app directory under data directory.
--------------------------------------------------------------------------------
Now remove the app whatever you want, use this command...
C:\Android\android-sdk\tools> adb shell  rm  data/app/com.rcreations.send2printer.apk

Now see whether your file com.rcreations.send2printer.apk has been removed or not.
 
C:\Android\android-sdk\tools> adb shell ls data/app
ApiDemos.apk
GestureBuilder.apk
SoftKeyboard.apk
CubeLiveWallpapers.apk
com.example.test.apk
com.example.gridviewTest.apk
com.example.android.apis.graphics.apk

Comments

Popular posts from this blog

Read Images from a xlsx file using Apache POI

Struts 2 : Warning :No configuration found for the specified action: 'Login.action' in namespace: '/'

How to create mail message in FRC822 format