Launch Fail - Android 3.0 SDK with Eclipse

by cool rss feed » Fri, 22 Apr 2011 03:39:25 GMT


Sponsored Links
 Hi, I searched the group and didn't get anything to this topic.

I downloaded the new Android 3.0 SDK.
When I'd tried to run with the Eclipse, It ran ok for the first time.
After the first run, even I close the previous emulator, it would give
me

[2011-04-21 12:38:56 - MyCommonLibrary] ------------------------------
[2011-04-21 12:38:56 - MyCommonLibrary] Android Launch!
[2011-04-21 12:38:56 - MyCommonLibrary] adb is running normally.
[2011-04-21 12:38:56 - MyCommonLibrary] Performing main activity
launch
[2011-04-21 12:38:56 - MyCommonLibrary] Automatic Target Mode:
Preferred AVD 'android_3.0' is not available. Launching new emulator.
[2011-04-21 12:38:56 - MyCommonLibrary] Launching a new emulator with
Virtual Device 'android_3.0'
[2011-04-21 12:38:56 - Emulator] emulator: ERROR: the user data image
is used by another emulator. aborting
[2011-04-21 12:39:46 - MyCommonLibrary] ------------------------------

Once I hit this error, I will no longer to launch the emulator again
even if I kill & start the adb or the eclipse.

My temp. solution would be either
1) marking the "Wipe User Data" from "Run Configurations" in eclipse
Or
2) going into the folder ".android/avd/myAVD" and delete cache.img and
userdata-qemu.img

Is anyone getting this annoying bug?

Also the emulation speed is way too slow comparing with the 2.3 or
2.2. Not sure what happen to this emulator.
Will the emulator be updated in the future?

Thanks
Terence

-- 



Other Threads

1. Formal Android training

The company I work for is looking to send someone off for formal training in
Android, that person most likely being me.  Mailing list regular Mark Murphy
is holding a 5-day course in December through Big Nerd Ranch but my company
is hoping to do this in the next month.  Knowing who he is makes me feel
more comfortable suggesting that course but since I can't wait that long,
I'm having trouble finding other offerings and feeling comfortable about
recommending them.

Aside from Big Nerd Ranch, the only other offering I can find is through
Marakana [1].  I've not heard of these folks before, which doesn't mean much
since I've never really looked either.  I'm curious to know if anyone here
has gone through any formal training, or if you could where would you look?

[1] http://marakana.com/training/android/

--
Chris Stewart
http://chriswstewart.com

Fantasy 
Football<http://chriswstewart.com/android-applications/fantasy-football/>-
Android app for MFL fantasy football owners

-- 

2. Media URI stability

We store references to media (music tracks) by storing media URIs.
Things like this:

content://media/external/audio/media/3

Of late, we've had a few complaints from users who saw the tracks
change periodically. It's as if some other bit of software was running
once a day or so and forcing a re-index of the media library, so every
track gets a new (and different) URI. One possible culprit seems to be
Zedge, though I'm not sure of that.

I've looked in the docs, and I can't see a way to force a re-index. Is
it possible ?

And, is there anything else we can do to get stable references to
tracks ? Do the built-in apps take any steps to identify (for example)
notification tones so they will be stable against reindexing of the
media db ?

Thanks!

Richard

-- 

3. Ramdisk image

4. Failed to open /dev/msm_pcm_out for writing

5. Database of android device configurations

6. Performance problems (CPU usage up to 100%)

7. appslib problems