Category: Android – How to

How to Install .apk file in Emulator

Step – 1

Go to cmd.

Step – 2

Then locate to the plateform-tools (e.g. Program Files \ Android \ android-sdk \ plateform-tools )

Step – 3

Install the apk. If your .apk file located at D directory, then the command should be like this,

e.g : C:\Program Files \ Android \ android-sdk \ plateform-tools > adb install D:\Paint.apk

then press enter.

Out Put :

133 KB/s (1338340 bytes in 9.802s)
pkg: /data/local/tmp/Paint.apk
Success

Know Issue,

error: device not found
– waiting for device –

Solution

1. Start your AVD (Android Virtual Device)

2. C:\Program Files (x86)\Android\android-sdk\platform-tools>adb kill-server

3. C:\Program Files (x86)\Android\android-sdk\platform-tools>adb start-server
* daemon not running. starting it now on port 5037 *
* daemon started successfully *

4. Now go to the step – 3

 

Thank you !!!! Wait for next post