Eclipse and the emulator

Common bugs/problems with the Android SDK the Emulator and the ADT-Plugin.

Eclipse and the emulator

Postby j0shua » Sun Jan 24, 2010 4:47 pm

Hi,

(System information: Windows 7 Pro 64-bit, Java 1.6.0_18 64-bit, Eclipse 3.5 64-bit)

I have a weird problem with the emulator. If I start the emulator from Eclipse :
[code][2010-01-24 10:23:04 - Test]Android Launch!
[2010-01-24 10:23:04 - Test]adb is running normally.
[2010-01-24 10:23:04 - Test]Performing tes.ttest.test activity launch
[2010-01-24 10:23:04 - Test]Automatic Target Mode: launching new emulator with compatible AVD 'Android1.6'
[2010-01-24 10:23:04 - Test]Launching a new emulator with Virtual Device 'Android1.6'[/code]

And nothing more. If I click again on the "Run" in Eclipse I got this:
[code][2010-01-24 10:24:45 - Test]Android Launch!
[2010-01-24 10:24:45 - Test]adb is running normally.
[2010-01-24 10:24:45 - Test]Performing tes.ttest.test activity launch
[2010-01-24 10:24:45 - Test]Automatic Target Mode: launching new emulator with compatible AVD 'Android1.6'
[2010-01-24 10:24:45 - Test]Launching a new emulator with Virtual Device 'Android1.6'
[2010-01-24 10:24:45 - Emulator]emulator: ERROR: the user data image is used by another emulator. aborting[/code]

(Now i have close the emulator)

But... If I start the emulator from the command line, using : "C:AndroidDevandroid-sdk-windowstoolsemulator.exe -avd Android1.6 -verbose", the emulator is finally working:

[code][2010-01-24 10:32:27 - Test]Android Launch!
[2010-01-24 10:32:27 - Test]adb is running normally.
[2010-01-24 10:32:27 - Test]Performing tes.ttest.test activity launch
[2010-01-24 10:32:27 - Test]Automatic Target Mode: using existing emulator 'emulator-5554' running compatible AVD 'Android1.6'
[2010-01-24 10:32:27 - Test]Uploading Test.apk onto device 'emulator-5554'
[2010-01-24 10:32:27 - Test]Installing Test.apk...
[2010-01-24 10:32:29 - Test]Success!
[2010-01-24 10:32:29 - Test]Starting activity tes.ttest.test on device
[2010-01-24 10:32:31 - Test]ActivityManager: Starting: Intent { cmp=tes.ttest/.test }[/code]

Also, if I don't put the "-verbose" it's not working either...

I have set the ANDROID_SWT to use the x86_64 library.

Is there anyway I can get the emulator working from Eclipse ?

(Sorry for my bad english)
j0shua
Freshman
Freshman
 
Posts: 3
Joined: Sun Jan 24, 2010 4:27 pm

Top

Return to SDK/ADT/Emulator Problems

Who is online

Users browsing this forum: No registered users and 7 guests