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
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. :-)
精彩评论