HelloWorld problems

by maciejg » Wed, 29 Apr 2009 15:04:12 GMT


Sponsored Links
 Hi,
I've just installed the SDK and followed the instructions in 'Hello
World' section. Although everything seemed fine Eclipse keep returning
the 'Failed to find an AVD compatible with target 'Android 1.5'.
Launch aborted.' error.
I have created the AVD with 'android create avd --target 1 --name
myavd' command as instructed.

After running the 'android list avd' command I noticed that an AVD
with Android 1.1 is the only one available. I did create another
project and used the Android 1.1 and everything seems to work. But the
questions are: shall I change the AVD to 1.5? How? Why the default is
1.1?

Thanks in advance for any replies.
Maciej

--~--~---------~--~----~------------~-------~--~----~



HelloWorld problems

by peter.kullm...@googlemail.com » Thu, 30 Apr 2009 02:05:51 GMT


 Hi,


Probably, because there isn't one.


Well, yes, the one you created. If you want to see the available
*targets*, use

android list targets

But you still have to create an avd for that target to have one
available.


You can either change the API level of your failing app to 1.1 in the
properties dialog of the project or use an appropriate avd which is
created by

android create avd --target 3 --name myavd-1.5

Peter

--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. Sync Motorola Droid PIM data without cloud or Exchange?

I'd like to sync PIM data (contact, calendars, etc) from my computer
to my Motorola Droid, without using Microsoft Exchange or Google's
cloud. In other words, I want to sync all data between the two devices
locally. I don't have access to Exchange, and my clients' privacy/
security concerns prevent me from uploading data to Google's cloud.

I'd prefer to sync from Evolution in Ubuntu Linux 9.10, but am willing
to use Windows Vista if necessary.

Thanks in advance for your help!

-- 

2. JAVADOC : errors constructing information...

Hello,

Would anyone know how to configure an ADT Eclipse project to
successfully generate the Javadoc on it ?

Here are my errors when I attempt to run "Generate Javadoc..." on any
Android ADT project :

     Constructing Javadoc information...
     package android.graphics.drawable does not exist
     import android.graphics.drawable.Drawable;
     package android.util does not exist
     import android.util.Log;
     package android.view does not exist
     import android.view.View;
     package android.widget does not exist
     import android.widget.Button;
     ...

With thanks,

Regards.

-- 

3. ItemizedOverlay animations on a MapView

4. Re-installing an updated .apk file....

5. Default Map Not Showing Up During Tutorial

6. onClick mouse position

7. Usage of TextView. Append and setText.