theTaken
theTaken

Reputation: 139

Run APK file in Eclipse

I have install Eclipse, SDK and ADT in my machine.

Can anyone assist me how can I run .apk sample files in Eclipse?

Thanks.

Upvotes: 6

Views: 27981

Answers (3)

user1000456
user1000456

Reputation:

you can push a file in emulator by Eclips( and you device that connected to eclips)

1-in device tab select your emulated phone and start it

2-pushing your apk file in file explorer tab by clicckig on PUSH A FILE

It Works.

Upvotes: 0

Hamza Waqas
Hamza Waqas

Reputation: 629

You ofcourse cannot open the .apk file in your eclipse IDE. You need to install it on emulator as like we install it on our devices.

Go to your Command Prompt, type

adb install Sudoku.apk and it will install it on your emulator. (Remember, load the adb to your path variables and change your directory location where you have already placed the Sudoku.apk)

Upvotes: 5

Kevin
Kevin

Reputation: 532

You need to create an emulator using the Android Virtual Device Manager. Then when you run it as an android application it will launch the emulator.

http://developer.android.com/guide/developing/devices/index.html

Should cover what you need to know.

Upvotes: 1

Related Questions