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. GEARS: geolocation based on GPS

Hello,

Did someone ever get one GPS position fix with Gears on Android. All I
allways and everywhere get is cell-tower data half a mile away. Please
let me know! Could not find anything about that subject. I'm working
with the most basic hello-world-sample, enableHighAccuracy is set to
true!

The version that I'm using is 0.4.23.0, preinstalled on the phone.
Also if some Google employee is reading this post, please clarify,
what's going on : )

Thanks, Best, h...@nnes

PS. Please do not mind multiple posts. This is going to be send on
several related groups. I let you know what I find, please let me know
what your results are!
--~--~---------~--~----~------------~-------~--~----~

2. OpenGL texture is upside down

Hello.  I'm trying to map a texture on a surface, but it's showing up
inverted (upside down).  It works correctly in Windows OpenGL.  Here
are the relevant code pieces:

Bitmap b = BitmapFactory.decodeResource(getResources(),
R.drawable.myBitmap);
...
android.opengl.GLUtils.texImage2D(GL10.GL_TEXTURE_2D, 0, b, 0);

I'm using texture coordinates with the origin in the lower left
corner, like I should.

The image resource is a PNG file which shows correctly in all image
viewers.  Any ideas?

Thanks.

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

3. java.net.SocketException: The operation timed out

4. build android error with eclipse

5. How can i access one activity from another in the same package?

6. Available eMail clients

7. URLConnection.getOutputStream() working fine in java main but not in android activity (Urgent plz)