I've installed android sdk which I'm using on eclipse. When i run my application I have the following log:
[2011-11-02 15:46:43 - HelloAndroid] Android Launch!
[2011-11-02 15:46:43 - HelloAndroid] adb is running normally.
[2011-11-02 15:46:43 - HelloAndroid] Performing com.example.helloandroid.HelloAndroid activity launch
[2011-11-02 15:46:43 - HelloAndroid] Automatic Target Mode: Preferred AVD 'AVD1' is available on emulator 'emulator-5554'
[2011-11-02 15:47:15 - HelloAndroid] Uploading HelloAndroid.apk onto device 'emulator-5554'
[2011-11-02 15:47:15 - HelloAndroid] Installing HelloAndroid.apk...
[2011-11-02 15:49:53 - HelloAndroid] Success!
[2011-11-02 15:49:55 - HelloAndroid] Starting activity com.example.helloandroid.HelloAndroid on device emulator-5554
And the emulator freezes at 'Andoird' screen. I've tried increasing ram and cd size but same result. I've also tried creating new avds, restarting eclipse but nothing seems to work. How can I fix this? I'm using th efollowing code to create my first app:
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);
}
}
I'm working with windows 7.