Run APK file in Eclipse
27,555
Solution 1
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)
Solution 2
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.
Author by
theTaken
Updated on March 20, 2020Comments
-
theTaken about 4 years
I have install Eclipse, SDK and ADT in my machine.
Can anyone assist me how can I run .apk sample files in Eclipse?
Thanks.
-
theTaken about 12 yearsThanks, I now able to see the app running in the Emulator. Can I open and see the source code of the Soduko.apk file? If so, how I can do that?
-
Hamza Waqas about 12 yearsI don't think that you can see the source code behind the compiled .apk.
-
theTaken about 12 yearsSo there is no way I could see the source code behind the .apk file??
-
Hamza Waqas about 12 yearsNo, I don't think so because this is the compiled form of our application.
-
theTaken about 12 yearsOk Thanks a lot for your helped!!