开发者

Using netbeans, how can I print to the console?

开发者 https://www.devze.com 2023-02-19 18:12 出处:网络
I know there are similar questions but none of them include the netbeans ide. any help woul开发者_运维知识库d be greatly appreciated :)You can just use android.util.Log and view the output in the DDMS

I know there are similar questions but none of them include the netbeans ide. any help woul开发者_运维知识库d be greatly appreciated :)


You can just use android.util.Log and view the output in the DDMS. Run ddms from the command line, and you'll get a view of the log that you can filter, etc.

http://developer.android.com/guide/developing/debugging/ddms.html

http://developer.android.com/reference/android/util/Log.html


there is a built-in alias in some versions : just type "sout" (+ TAB, it depends i don't remember exactly) and there you go !

0

精彩评论

暂无评论...
验证码 换一张
取 消