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. encoder support in OpenCORE/cupcake

I find in ./engines/author/src/single_core/pvaenodefactoryutility.h,
"PVMFOMXVideoEncNodeFactory::CreateVideoEncNode()" is called to create video
node. In my understanding, this means OMX is expected to be used in
PVAuthor. However, I did not find any encoder OMX provided by PV under
opencore folder...

My question is: is encoding path in opencore of cupcake tested? I think
theoratically 3rd party OMX should work in that node but I have no idea
whether that node itself can work correctly.

Many thanks in advance!

-- 
Thanks,
Andy

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

2. C to CPP conversion (or vice-versa) based on the package type having C or CPP.

Hi fadden,

my "libmyusecase" is having  *.c files and all my header files is with the C
linkage as below.

#ifdef _cplusplus
extern "C" {
#endif /* _cplusplus */
...............................
...............................

#ifdef _cplusplus
}
#endif /* _cplusplus */

And i am trying to call the API's part of these *.c in a package containing
*.cpp files. I get undefined reference error.

But when i make the *.c files of "libmyusecase" to *.cpp  and remove the C
linkage  in the header files i dont get the undefined reference error.

Thanks and Regards,
Sreedhar







--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

3. "Android Developers Group for Singapore and South East Asia" IRC channel is up

4. question about tabs at the bottom

5. ANN: using PMD static analyzer on Android projects

6. start android on top of moblin/ubuntu

7. Emulator (SDK 1.1_r1 for widndows XP) crash using emulator -data