How to system out for Android(xperia Z) -
i'm using xperia z debug device , logcat debug. in logcat when exception throw out catch cannot debug java. example in java can find information
exception in thread "main" java.lang.nullpointerexception @ myserver.main(myserver.java:260)
i think if can use system out in java can information in android.
please send me advises
thanks!
just try debug android errors:
import android.util.log; log.d(string tag, string msg);
where parameters (taken docs):
- tag used identify source of log message. identifies class or activity log call occurs.
- msg message logged.
Comments
Post a Comment