Hi guys. I'm trying to run a "hello android" example as described here: Hello, World | Android Developers
The problem is: the application doesn't launch. When running it, the emulator comes up and loads and loads and finally displays some screen (screenshot: Yfrog Photo : yfrog.com/1gskjermbilde20101211kl19p ) but not the hello world application.
Sourcecode is:
package com.example.helloandroid;
import android.app.Activity;
import android.os.Bundle;
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);
}
}
Eclipse version is Helios, ADT is 8.0.1.v201012062107-82219 and the project target was Api 9 Platform 2.3
The eclipse console says:
[2010-12-11 19:16:27 - HelloAndroid] ------------------------------
[2010-12-11 19:16:27 - HelloAndroid] Android Launch!
[2010-12-11 19:16:27 - HelloAndroid] adb is running normally.
[2010-12-11 19:16:27 - HelloAndroid] Performing com.example.helloandroid.HelloAndroid activity launch
[2010-12-11 19:16:27 - HelloAndroid] Automatic Target Mode: launching new emulator with compatible AVD 'SomeDevice'
[2010-12-11 19:16:27 - HelloAndroid] Launching a new emulator with Virtual Device 'SomeDevice'
[2010-12-11 19:16:30 - Emulator] 2010-12-11 19:16:30.221 emulator[35781: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.
(end of output)
On the first launch the emulator said something about something not responding in time but the error message was gone too soon for me to take a screenshot. I haven't been able to reproduce the error since, even though I created entirely new eclipse projects and new virtual devices.
I've been waiting for more than a quarter now for the emulator to load, so I think I've been patient enough
Any ideas?
Thank you very much in advance and have a wonderful weekend!
The problem is: the application doesn't launch. When running it, the emulator comes up and loads and loads and finally displays some screen (screenshot: Yfrog Photo : yfrog.com/1gskjermbilde20101211kl19p ) but not the hello world application.
Sourcecode is:
package com.example.helloandroid;
import android.app.Activity;
import android.os.Bundle;
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);
}
}
Eclipse version is Helios, ADT is 8.0.1.v201012062107-82219 and the project target was Api 9 Platform 2.3
The eclipse console says:
[2010-12-11 19:16:27 - HelloAndroid] ------------------------------
[2010-12-11 19:16:27 - HelloAndroid] Android Launch!
[2010-12-11 19:16:27 - HelloAndroid] adb is running normally.
[2010-12-11 19:16:27 - HelloAndroid] Performing com.example.helloandroid.HelloAndroid activity launch
[2010-12-11 19:16:27 - HelloAndroid] Automatic Target Mode: launching new emulator with compatible AVD 'SomeDevice'
[2010-12-11 19:16:27 - HelloAndroid] Launching a new emulator with Virtual Device 'SomeDevice'
[2010-12-11 19:16:30 - Emulator] 2010-12-11 19:16:30.221 emulator[35781: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.
(end of output)
On the first launch the emulator said something about something not responding in time but the error message was gone too soon for me to take a screenshot. I haven't been able to reproduce the error since, even though I created entirely new eclipse projects and new virtual devices.
I've been waiting for more than a quarter now for the emulator to load, so I think I've been patient enough
Any ideas?
Thank you very much in advance and have a wonderful weekend!