• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Can't test my application

osho

Lurker
Hello,

I have just installed Eclipse, ADT and SDK. Everything works fine, no errors. I have installed also all the components.

I did the HelloWorld tutorial :
Code:
package com.example.helloandroid;
import android.app.Activity;
import android.os.Bundle;
public class HelloAndroid extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
    }
}
and run the project. My android virtual device starts, there are no compile errors and on the android screen there is only an ANDROID_ text (default screen). What I am doing wrong ?

Thanks in advance.
 
Sorry, I have read on another forum that it takes a wile for Android OS to start. So this problem is solved.
 
Yeah it can be a little slow starting at first. You can also connect your actual device and enable USB debugging and then it will run the app on your phone. Much cooler in my opinion.
 
Back
Top Bottom