I have install Eclipse, SDK and ADT in my machine.
Can anyone assist me how can I run .apk sample files in Eclipse?
Thanks.
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 )
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.
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.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.