刚用Eclipse几天,在安装SDK后,运行代码时不再显示如下这些信息了
[2014-08-09 23:20:04 - HelloWord] ------------------------------
[2014-08-09 23:20:04 - HelloWord] Android Launch!
[2014-08-09 23:20:04 - HelloWord] adb is running normally.
[2014-08-09 23:20:04 - HelloWord] Performing com.mht.helloword.HelloWorldActivity activity launch
[2014-08-09 23:20:05 - HelloWord] Automatic Target Mode: using existing emulator 'emulator-5554' running compatible AVD 'fkjava_2'
[2014-08-09 23:20:05 - HelloWord] Uploading HelloWord.apk onto device 'emulator-5554'
[2014-08-09 23:20:06 - HelloWord] Installing HelloWord.apk...
[2014-08-09 23:20:16 - HelloWord] Success!
[2014-08-09 23:20:17 - HelloWord] Starting activity com.mht.helloword.HelloWorldActivity on device emulator-5554
[2014-08-09 23:20:21 - HelloWord] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.mht.helloword/.HelloWorldActivity }
虽然还没完全了解这些信息背后的意义,但看到Success、 Starting等还是有必要的,至少可以知道程序已安装到AVD上了。
后来发现原来可以通过这个小按钮来设置:(害的我还去问度娘好一阵,也没找到答案)
点击这个按钮,可以有多个选择:
1. Android
2. DDMS
3. OpenGL Trace View
4. Java Stack Trace Console
选择Android时,就可以显示那些信息了