Sunday, January 20, 2013

install apk file to emulator from command line:





first add environment variable (right click computer –properties - advanced settings – environment variable)
PATH – path of adb – (ex:d:\android\platform-tools)

go to command prompt

cd  (adb.exe path)location of adb (ex: cd d:\android\platform-tools )

Adb devices                     – shows list of devices present (emulator which Is active)
Adb install “apk location”       (ex: c:\users\desktop\sample.apk)


General error :
-  failure install failed older sdk
Emulator api level is lesser than the  target api declared in manifest – change it

No comments:

Post a Comment