开发者

Debugging Android on Netbeans

开发者 https://www.devze.com 2023-02-04 11:32 出处:网络
I\'ve setup Netbeans using nbandroid (http://kenai.com/projects开发者_Go百科/nbandroid) which has been working just fine for the last few days. I\'ve already made a small app which runs in the emulato

I've setup Netbeans using nbandroid (http://kenai.com/projects开发者_Go百科/nbandroid) which has been working just fine for the last few days. I've already made a small app which runs in the emulator and even on my phone.

The thing I can't get to work is the debugger console in netbeans. If I add these lines of code to my app nothing appears in any of the output screens in netbeans.

System.out.println("blaat");
Log.d("info", "blaat")

Even though I'm 100% sure the code should run. Any suggestions on what I might have missed?


Try opening a new cmd prompt and type "adb logcat".


Ok, just found a better solution in another question: Android Debugging with Logcat and Emulator. Is it possible?

started using ddms, which is exactly what I wanted.

0

精彩评论

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