Run APK file in Eclipse

I have the installation of Eclipse, SDK and ADT on my machine.

Can someone help me how can I run .apk sample files in Eclipse?

Thanks.

+6
source share
3 answers

Of course, you cannot open the .apk file in your eclipse development environment. You need to install it on the emulator, as we install it on our devices.

Go to the command line, enter

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

+5
source

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

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

It should cover what you need to know.

+1
source

you can click the file in the emulator using Eclips (and the device connected to eclipses)

β€œ1-in-device” tab, select your emulated phone and launch it

2-clicking your apk file in the file explorer tab using clicckig on PUSH A FILE

It works.

0
source

Source: https://habr.com/ru/post/911901/


All Articles