Tuesday, October 5, 2010

How to INSTALL .APK files on ANDROID Windows SDK EMULATOR

In this tutorial we are going to learn how to install any given Android application in Android emulator   using [dot]APK ".apkfiles.
Follow the instructions with SCREENSHOTS of the Android emulator. All you need is just the Android SDK platform (software development kit, with emulator) and .apk files. There is no need to install Eclipse or Netbeans SDk, to work with APK files. An .apk file extension denotes an Android Package (APK) file. This file format, a variant of the JAR format, is used for the distribution and installation of bundled components onto the Android mobile device platform.
Let's proceed with installation. First of all download the required stuffs. 
1.Android SDK: It can be downloaded from the official google website- here is a link to Latest Android SDK  (for which you also need JAVA VM, JDK> or JRE already installed). Readhow to install it, before you proceed with this tutorial. Don't forget to update the SDK and also install the suitable platform version, in this tutorial we are going to use a stable Android Platform 1.5.
2.Sample APK file: Let's take Sudoku.apk, please download it. 
Android Logo"Are you ready for installation?"
WINDOWS XP/VISTA/SEVEN System Setting
Kindly NOTE : For this tutorial, the SDK has been unzipped to this Windowsnbsp;folder location: "E:\android-sdk-windows\"
Start the emulator (Virtual Android):
Android SDK manger window
Either you can start the emulator directly by running emulator.exe from "E:\android-sdk-windows\tools\"
OR
Run the setup sdk "SDK Setup.exe" from "E:\android-sdk-windows\" and then create and start AVD (emulator), in the above picture you can see that we have already created bOtskOOl AVD using Android SDK and AVD manager.
After a few minutes a virtual Android shall boot up and then observe the desktop view, as shown in the picture. Press on menu button and you will find that the applications are arranged in a grid view.
emulator android startingandroid emulator logoandroid desktop viewApplication grid view android emulator
Copy .APK files:
Now, manually copy and paste the Sudoku.apk  to destination folder "E:\android-sdk-windows\tools\". 
Run the windows command:
Go to Start>>run>>cmd (open a windows command prompt or shell) and type the following commands "highlighted in bold orange".
cd e:\android-sdk-windows\tools\  
comments: we do this in order to change our directory level to where the emulator is installed
windows command line
adb install Sudoku.apk 
comments: android emulator command to install the Sudoku application in .apk format.
Thats all, it's done. You must get a success message, Hurray!! You have installed your application successfully.
In case if you get error message then please do read the tutorial again, see to it that you have copied the apk file in the right folder or there is no uppercase/lower case error while typing file name.Now switch to your Android emulator, and click on the menu button, you will observe that a Sudoku application appears in the grid view.
application installed
Hope you will be able to install your favourite Android apps easily.
If you want to uninstall any application, then please do read this tutorial on
how to uninstall Android .apk files from emulator.


Your Ad Here