If your app’s dying like crazy, or you want to see your own debugging output, and you want to see the logs/stacktrace, do this:
- make sure your AVD’s started
- open a command prompt and write adb shell
- write logcat
If your app’s dying like crazy, or you want to see your own debugging output, and you want to see the logs/stacktrace, do this:
Here’s how you set a color, defined in your colors.xml, from code:
textView.setTextColor(getResources().getColor(R.color.red));