Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 351
theTaken Avatar asked Mar 28 '12 22:03

theTaken


2 Answers

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)

like image 151
Hamza Waqas Avatar answered Oct 23 '22 04:10

Hamza Waqas


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.

like image 44
Kevin Avatar answered Oct 23 '22 04:10

Kevin