Thursday, 6 September 2012

how to install Android Application in Emulator by command line

if u want to install android application *.apk file in android Emulator by command line,
then Go,
where ur android sdk file by command line,
like- E:\Android Software\android-sdk-windows-final\platform-tools

then type,

adb -e install path\filename.apk,

or Re install then,

adb -e install r path\filename.apk,

Example,

1)

E:\MCA DEPT\MCA SEM-5\Android Software\android-sdk-windows-final\platform-tools>adb -e install e:\truecaller_2_5_beta.apk

255 KB/s (841512 bytes in 3.213s)

        pkg: /data/local/tmp/truecaller_2_5_beta.apk

Success


2)

E:\MCA DEPT\MCA SEM-5\Android Software\android-sdk-windows-final\platform-tools>
adb -e install e:\AndExplorer.apk

83 KB/s (475570 bytes in 5.542s)

        pkg: /data/local/tmp/AndExplorer.apk

Success


No comments:

Post a Comment