Re: [android-developers] Newbie running HelloWorld

2011-05-14 Thread Aitor Mendaza Ormaza
What version of the SDK did you installed? What OS? eclipse version? Provide
us with more information

On Fri, May 13, 2011 at 5:51 PM, quique123 quique...@gmail.com wrote:

 Hi, I installed:

 android sdk
 jdk
 eclipse
 adt plugin

 Im following the developer.android.com guide for HelloWorld and here
 is my code:

 package com.santiapps.helloandroid;

 import android.app.Activity;
 import android.os.Bundle;
 import android.widget.TextView;

 public class HelloAndroid extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
TextView tv = new TextView(this);
tv.setText(Hello, Android);
setContentView(tv);
}
 }

 but i the emulator runs, for several minutes, and i get this in the
 console:


 [2011-05-13 09:19:45 - HelloAndroid] --
 [2011-05-13 09:19:45 - HelloAndroid] Android Launch!
 [2011-05-13 09:19:45 - HelloAndroid] adb is running normally.
 [2011-05-13 09:19:45 - HelloAndroid] Performing
 com.santiapps.helloandroid.HelloAndroid activity launch
 [2011-05-13 09:19:45 - HelloAndroid] Automatic Target Mode: Preferred
 AVD 'my_avd' is not available. Launching new emulator.
 [2011-05-13 09:19:45 - HelloAndroid] Launching a new emulator with
 Virtual Device 'my_avd'
 [2011-05-13 09:19:56 - Emulator] 2011-05-13 09:19:56.191
 emulator[528:903] Warning once: This application, or a library it
 uses, is using NSQuickDrawView, which has been deprecated. Apps should
 cease use of QuickDraw and move to Quartz.
 [2011-05-13 09:19:56 - Emulator] emulator: emulator window was out of
 view and was recentred
 [2011-05-13 09:19:56 - Emulator]
 [2011-05-13 09:19:56 - HelloAndroid] New emulator found: emulator-5554
 [2011-05-13 09:19:56 - HelloAndroid] Waiting for HOME
 ('android.process.acore') to be launched...
 [2011-05-13 09:36:26 - Emulator] emulator: ERROR: unexpected qemud
 char. channel close

 So i close the emulator...

 [2011-05-13 09:39:14 - HelloAndroid] emulator-5554 disconnected!
 Cancelling 'com.santiapps.helloandroid.HelloAndroid activity launch'!

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
---
http://aitorTheRed.blogspot.com
http://www.last.fm/user/aitorTheRed/

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Newbie running HelloWorld

2011-05-13 Thread quique123
Hi, I installed:

android sdk
jdk
eclipse
adt plugin

Im following the developer.android.com guide for HelloWorld and here
is my code:

package com.santiapps.helloandroid;

import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;

public class HelloAndroid extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
TextView tv = new TextView(this);
tv.setText(Hello, Android);
setContentView(tv);
}
}

but i the emulator runs, for several minutes, and i get this in the
console:


[2011-05-13 09:19:45 - HelloAndroid] --
[2011-05-13 09:19:45 - HelloAndroid] Android Launch!
[2011-05-13 09:19:45 - HelloAndroid] adb is running normally.
[2011-05-13 09:19:45 - HelloAndroid] Performing
com.santiapps.helloandroid.HelloAndroid activity launch
[2011-05-13 09:19:45 - HelloAndroid] Automatic Target Mode: Preferred
AVD 'my_avd' is not available. Launching new emulator.
[2011-05-13 09:19:45 - HelloAndroid] Launching a new emulator with
Virtual Device 'my_avd'
[2011-05-13 09:19:56 - Emulator] 2011-05-13 09:19:56.191
emulator[528:903] Warning once: This application, or a library it
uses, is using NSQuickDrawView, which has been deprecated. Apps should
cease use of QuickDraw and move to Quartz.
[2011-05-13 09:19:56 - Emulator] emulator: emulator window was out of
view and was recentred
[2011-05-13 09:19:56 - Emulator]
[2011-05-13 09:19:56 - HelloAndroid] New emulator found: emulator-5554
[2011-05-13 09:19:56 - HelloAndroid] Waiting for HOME
('android.process.acore') to be launched...
[2011-05-13 09:36:26 - Emulator] emulator: ERROR: unexpected qemud
char. channel close

So i close the emulator...

[2011-05-13 09:39:14 - HelloAndroid] emulator-5554 disconnected!
Cancelling 'com.santiapps.helloandroid.HelloAndroid activity launch'!

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en