Sunday, March 11, 2012

How to install and uninstall package file

I use Lenovo Ideapad A1 for developing Air for Android applications.
But unfortunately I can not send package file published by Flash CS5.5 to the device or emulator.
So I use adb command usually.

Install package
adb install [apk file name]

Uninstall package
adb uninstall [package name]
(Don't forget name attached "air". For example air.org.eniblo.***)

How to know package name
adb shell pm list packages

How to know device list
adb devices

If you install or uninstall to a device in multiple devices or emulator.
Add -s [Device name] option 

No comments:

Post a Comment