Ashish
Ashish

Reputation: 5

Not able to install android application on emulator

I was developing a “hello world” android application using intellij IDE 11.0.01 and android SDK 4.0.3. I ran the application using intellij, emulator was launched but it was not showing my application. Android logcat was also empty. I closed the emulator. Killed the process adb.exe from task manager.

Then I followed the following steps: 1.Copied the .apk file to android \platform-tools folder. 2.Started the emulator from SDK manager. 3.Open the command prompt and changed the path till \platform-tools folder 4.Execute the commands: adb kill-server adb start-server adb install my_app.apk

I am getting following error: ** daemon not running. starting it now on port 5037 * * daemon started successfully * ** daemon still not runningerror: cannot connect to daemon

I am using Windows XP Professional Version 2002 Service Pack 3.I am working from my personal laptop and I do not have any antivirus or firewall started.

Could anyone please provide me information how to proceed from here?

Upvotes: 1

Views: 1918

Answers (1)

BlackDragonBE
BlackDragonBE

Reputation: 302

If all fails, you could try installing the apk using adb:

adb install <path_to_apk>

Execute that commmand in a command window in the same folder as adb.

Upvotes: 1

Related Questions