[General Questions and Answers] iggyb_hube:
Hello All.

I am a NOOB and have just registered on XDA.

I work in the IT Industry and have a desire to write mobile applications and as I already own three Android phones, this became a natural choice for me. I have dabbled with rooting of a device, installing ROMs and applications (apk).

To start off I have installed the following software:

1. Eclipse Eclipse IDE for Java Developers

Version: Juno Service Release 1

Build id: 20120920-0800

2. jdk-6u38-windows-i586

3. Android SDK - Android 4.0.3 (API 15) / Google APIs

My issues are:

1. I created a AVD however when it runs, it does create the device but the screen is just black. No background, no default icons and no notifications bar.

2. The menu buttons dont react to input i.e. press the menu button and nothing happens

3. I then coded my first HelloWorld program which is as per below and it seem to be in an endless loop (see after the program the log)

THE PROGRAM

---------------------------------------------------------------------------

package com.example.helloworld;

import android.os.Bundle;

import android.app.Activity;

import android.view.Menu;

import android.widget.TextView;

public class MainActivity extends Activity {

@Override

protected void onCreate(Bundle savedInstanceState) {

super.onCreate(savedInstanceState);

setContentView(R.layout.activity_main);

TextView tv = new TextView(this);

tv.setText("Hello, Android");

setContentView(tv);

}

@Override

public boolean onCreateOptionsMenu(Menu menu) {

// Inflate the menu; this adds items to the action bar if it is present.

getMenuInflater().inflate(R.menu.activity_main, menu);

return true;

}

}

THE LOG

--------------------------------------------------------------------------

[2013-01-07 16:38:04 - HelloWorld] ------------------------------

[2013-01-07 16:38:04 - HelloWorld] Android Launch!

[2013-01-07 16:38:04 - HelloWorld] adb is running normally.

[2013-01-07 16:38:04 - HelloWorld] Performing com.example.helloworld.MainActivity activity launch

[2013-01-07 16:38:04 - HelloWorld] Automatic Target Mode: launching new emulator with compatible AVD 'Iggys_Droid'

[2013-01-07 16:38:04 - HelloWorld] Launching a new emulator with Virtual Device 'Iggys_Droid'

[2013-01-07 16:38:21 - Emulator] creating window 0 0 438 729

[2013-01-07 16:38:21 - HelloWorld] New emulator found: emulator-5554

[2013-01-07 16:38:21 - HelloWorld] Waiting for HOME ('android.process.acore') to be launched...

[2013-01-07 16:38:52 - Emulator] sdk/emulator/opengl/host/libs/Translator/GLES_CM/GLEScmImp.cpp:glGenFramebuffersOES:1938 error 0x502

[2013-01-07 16:38:52 - Emulator] sdk/emulator/opengl/host/libs/Translator/GLES_CM/GLEScmImp.cpp:glBindFramebufferOES:1913 error 0x502

[2013-01-07 16:38:52 - Emulator] sdk/emulator/opengl/host/libs/Translator/GLES_CM/GLEScmImp.cpp:glFramebufferTexture2DOES:1958 error 0x502

[2013-01-07 16:38:52 - Emulator] sdk/emulator/opengl/host/libs/Translator/GLES_CM/GLEScmImp.cpp:glCheckFramebufferStatusOES:1951 error 0x502

[2013-01-07 16:38:52 - Emulator] sdk/emulator/opengl/host/libs/Translator/GLES_CM/GLEScmImp.cpp:glBindFramebufferOES:1913 error 0x502

[2013-01-07 16:38:52 - Emulator] sdk/emulator/opengl/host/libs/Translator/GLES_CM/GLEScmImp.cpp:glDeleteFramebuffersOES:1929 error 0x502

The Emulator messages repeat endlessly until I kill the AVD.

What could be doing wrong or missing?