• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Problem with AVDs in Eclipse ADT

estonb

Lurker
I am having a problem creating a useable AVD in Eclipse. I am running JDK 1.7, Eclipse Juno with ADT 23.0.2. This is running on a Windows 7 machine.

I can create an AVD fine, but when I run it (and I have tried many variations of the device definition - they all work the same way), it load the emulator and on start-up an error message appears the initial ANDROID startup screen. The error is the following:

"Sorry!
The application Launcher (process com.android.launcher) has stopped unexpectedly. Please try again.
FORCE CLOSE"

When I choose the "Force Close" button, the splash screen disappears and the home screen shows as expected - except that the screen of the emulator is turned landscape! (the hardware buttons are in portrait, it is just the screen that is landscape.

As I mentioned, this happens with all different AVDs that I have created. I haven't even tried to run any apps yet, just at the initial point of setting up my environment where I am trying to create a worlable DVD.
 
What Android version are you using on your AVD, did you try only the newest one or also older ones?

There are some bugs with some versions, and if I remember right, the newest is one of them.
 
The last one I created is using Android 3.0, API 11.

I'll try using a different one and see if there is a change.
 
Just tried using the following specs:
Google API's - API Level 11 - same problem
Android 1.5 - API Level 3 - this one worked!

I guess I just have to play around with the different versions to find one that works.

Thanks a lot for the tip!
 
Now that I have a "working" emulator, why am I getting this error, even thought I can't find any reference to "android-20" in my code?

"Unable to resolve target 'android-20'"
 
The target is set up in the Project Properties, it's what it compiles with. You can also edit the project.properties file manually for this.

You must have set it up for version 20 and then uninstalled it? Either change the target or reinstall it with SDK Manager.
 
If you have 23 installed, then set the target to 23.

Right click your project and select Properties, then Android on the left. On the right choose the target SDK you compile with (usually best to set the newest one)

Installing a new SDK version does not automatically included the older versions.
 
make sure u installed the right API for the API you're trying to use as an emulator (i.e if you run ADV api 11 make sure you installed api 11 sdk aswell)
 
Back
Top Bottom