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

Popular posts from this blog

Can not connect to git using ssh (Permissions 0644 for '/root/.ssh/id_rsa' are too open.

Upload file on Google cloud storage using Java servlet on google app engine

Create Nested table inside a table on a pdf document using iText