Dutchmarco
Newbie
This is most sad:
When trying to run the Hello World-project from Hello, World | Android Developers in Eclipse
Version: 3.4.2
Build id: M20090211-1700
I get the following errors:
Mijn_AVD2 is Dutch for My_AVD2. I only just created the AVD, running the ANdroid.bat-tool shows that it really does exist.
Before I froget: this is the code:
When trying to run the Hello World-project from Hello, World | Android Developers in Eclipse
Version: 3.4.2
Build id: M20090211-1700
I get the following errors:
Code:
Description Resource Path Location Type
Class com.example.helloandroid.helloandroid does not exist AndroidManifest.xml HelloAndroid line 8 Android XML Content Problem
Class com.example.helloandroid.helloandroid does not exist AndroidManifest.xml HelloAndroidv2 line 8 Android XML Content Problem
Class com.magicmojo.helloworldtut.HelloAndroidTut does not exist AndroidManifest.xml HelloWorld tut line 8 Android XML Content Problem
The declared package "com.android.helloandroid" does not match the expected package "com.example.helloandroid" helloandroid.java HelloAndroid/src/com/example/helloandroid line 1 Java Problem
The declared package "com.android.helloandroid" does not match the expected package "com.example.helloandroid" helloandroid.java HelloAndroidv2/src/com/example/helloandroid line 1 Java Problem
The public type HelloAndroid must be defined in its own file HelloAndroidTut.java HelloWorld tut/src/com/magicmojo/helloworldtut line 7 Java Problem
The public type HelloAndroid must be defined in its own file helloandroid.java HelloAndroid/src/com/example/helloandroid line 7 Java Problem
The public type HelloAndroid must be defined in its own file helloandroid.java HelloAndroidv2/src/com/example/helloandroid line 7 Java Problem
Code:
I also got these console-messages:
[2010-11-11 16:01:40 - HelloAndroid] Android Launch!
[2010-11-11 16:01:40 - HelloAndroid] adb is running normally.
[2010-11-11 16:01:40 - HelloAndroid] Performing com.example.helloandroid.helloandroid activity launch
[2010-11-11 16:01:40 - HelloAndroid] Automatic Target Mode: launching new emulator with compatible AVD 'Mijn_AVD2'
[2010-11-11 16:01:40 - HelloAndroid] Launching a new emulator with Virtual Device 'Mijn_AVD2'
[2010-11-11 16:01:40 - Emulator] emulator: ERROR: unknown virtual device name: 'Mijn_AVD2'
[2010-11-11 16:01:40 - Emulator] emulator: could not find virtual device named 'Mijn_AVD2'
Before I froget: this is the code:
Code:
package com.android.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- tv.SetText");
setContentView(tv);
}
}