clayshannon
New Member
I'm trying to run a very simple (my first) Android app in an emulator I've set up, but my app doesn't display within the emulator. I'm expecting to see (code below) a TextView with some Text assigned to it.
All I see is a black "honeycomb" background in the emulator (which looks like a "DOS box" or Command prompt) with the time (5 hours in the future), date, and "Charging (50%)"
I'm using an AVD set up to use a version 3.2 emulator. I've got that (Andorid 3.2 SDK) and Java 7 installed.
Here is what is contained in my Eclipse tabs:
Console:
[2011-07-29 02:16:39 - YeauxDudimus] ------------------------------
[2011-07-29 02:16:39 - YeauxDudimus] Android Launch!
[2011-07-29 02:16:39 - YeauxDudimus] adb is running normally.
[2011-07-29 02:16:39 - YeauxDudimus] Performing com.bobas.YeauxDudimusActivity activity launch
Error Log:
While loading class "com.android.ide.eclipse.adt.ToolsLocator", thread "Thread[Worker-2,5,main]" timed out waiting (5016ms) for thread "Thread
Problems:
None
Code:
All I see is a black "honeycomb" background in the emulator (which looks like a "DOS box" or Command prompt) with the time (5 hours in the future), date, and "Charging (50%)"
I'm using an AVD set up to use a version 3.2 emulator. I've got that (Andorid 3.2 SDK) and Java 7 installed.
Here is what is contained in my Eclipse tabs:
Console:
[2011-07-29 02:16:39 - YeauxDudimus] ------------------------------
[2011-07-29 02:16:39 - YeauxDudimus] Android Launch!
[2011-07-29 02:16:39 - YeauxDudimus] adb is running normally.
[2011-07-29 02:16:39 - YeauxDudimus] Performing com.bobas.YeauxDudimusActivity activity launch
Error Log:
While loading class "com.android.ide.eclipse.adt.ToolsLocator", thread "Thread[Worker-2,5,main]" timed out waiting (5016ms) for thread "Thread
Problems:
None
Code:
Code:
package com.bobas;
import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;
public class YeauxDudimusActivity 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("Yeaux, Dudimus");
setContentView(tv);
setContentView(R.layout.main);
}
}