- Forum-Beiträge: 4
03.07.2011, 15:24:27 via Website
03.07.2011 15:24:27 via Website
http://www.android-hilfe.de/android-app-entwicklung/21865-howto-android-programmierung-newbie-guide.html
eingerichtet und verwendet.
Code:
package com.example.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);
}
}
und die Fehlermeldung:
[2011-07-03 15:10:45 - Hello Android] ------------------------------
[2011-07-03 15:10:45 - Hello Android] Android Launch!
[2011-07-03 15:10:45 - Hello Android] adb is running normally.
[2011-07-03 15:10:45 - Hello Android] Performing com.example.helloandroid.HelloAndroid activity launch
[2011-07-03 15:10:45 - Hello Android] Automatic Target Mode: Preferred AVD 'AVD_NEW' is not available. Launching new emulator.
[2011-07-03 15:10:45 - Hello Android] Launching a new emulator with Virtual Device 'AVD_NEW'
[2011-07-03 15:10:51 - Hello Android] New emulator found: emulator-5554
[2011-07-03 15:10:51 - Hello Android] Waiting for HOME ('android.process.acore') to be launched...
[2011-07-03 15:11:06 - Hello Android] emulator-5554 disconnected! Cancelling 'com.example.helloandroid.HelloAndroid activity launch'!
[2011-07-03 15:11:07 - Emulator] emulator: emulator window was out of view and was recentred
[2011-07-03 15:11:07 - Emulator]
Wie kann ich diesen Fehler beheben, ich habe schon vieles versucht???