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. How to debug Android application like (Browser, Camera etc.)

Hi Atish-

Questions or issues regarding the open source build or debugging
platform applications should be posted to android-platform.  This list
is for discussion development of apps using the published SDK.

See <source.android.com/discuss> for more information

Thanks
Andy




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

2. My very first program giving me R.layout.main cannot be resolved error

package com.first;

import android.R;
import android.app.Activity;
import android.os.Bundle;

public class Testing extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main); <<<<<<<<<---------------
R.layout.main cannot be resolved
    }
}

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

3. cant not run ant the default project generate by activitycreator.bat

4. converting language of labels

5. Problem with URL Camera

6. for image

7. Messenger APIs in Adroid