James
James

Reputation: 201

Logging in Eclipse/Android

I am trying to log in eclipse in a very simple test app.I have the following:

public class Test extends Activity {



    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        Log.i("FSDSFS","JJJJJJ");


    }
}

I have imported the log via import android.util.Log; and am looking in the LogCat,but I see nothing at all.I clicked on the I with a circle around it in LogCat.

What could I be doing wrong here?

Thanks

Upvotes: 0

Views: 543

Answers (1)

Mudassir
Mudassir

Reputation: 13174

In DDMS, click on the Devices button (a tiny mobile phone icon) then select the emulator or device from the list. And here you go. :-)

Upvotes: 2

Related Questions