Installing App in Emulators required the .apk file which we available on the same folder path.
.apk file: workspace > project >
bin\
There are multiple ways of installing Android or any App
(.apk file) in emulators as some of them are mentioned below:
Way 1: If you are using Eclipse version 3.7.1,
then on running the Android project in Eclipse (without showing any exception)
will automatically install the App (.apk file) in emulator (Make confirm the
Emulator should be open when running the Eclipse Android application).
Way 2: You can also configure the Android App or
any other apps (.apk file) through ‘adb’ (Android Debug
Bridge).
adb is a adaptable command line tool that
lets you converse with an emulator object or linked Android - powered tool.
Physical Path of adb: Drive \ android – sdk
- windows\ platform -tools
‘adb’ is also used to configuring any App in Android. As per
described command in the Screen below, is using for installing any app.
Installation Command will be:
adb install Testdemo.apk
[adb (command) install (command) testdemo.apk (path of .apk
file of testing demo android project)]
Just see the provided screen as provided below:
Installation of Android App in Emulator |
Point need to be noted: Emulator must keep
opened while installing any App into the Emulator
ReplyDeleteHi,
Recently I came across some great articles on your site.
The other day, I was discussing (http://testinginterviewsquestions.blogspot.in/2013/03/installation-of-android-app-in-emulator.html)with my colleagues and they suggested I submit an article of my own. Your site is just perfect for what I have written!
Would it be ok to submit the article? It is free of charge, of course!
Let me know what you think
Contact me at anelieivanova@gmail.com
Regards
Anele Ivanova