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