2014-09-03 191 views
2

這可能不是一個編程問題。但任何幫助將不勝感激。Eclipse控制檯不顯示日誌

當我在模擬器中啓動我的android應用程序時,我曾在控制檯上獲取某種日誌消息。如下所示:

[2014-09-01 18:56:44 - POSStore] ------------------------------ 
[2014-09-01 18:56:44 - POSStore] Android Launch! 
[2014-09-01 18:56:44 - POSStore] adb is running normally. 
[2014-09-01 18:56:44 - POSStore] Performing com.POS.Store.LoginActivity activity launch 
[2014-09-01 18:56:45 - POSStore] Automatic Target Mode: Preferred AVD 'SamsungGalaxyS' is not available. Launching new emulator. 
[2014-09-01 18:56:45 - POSStore] Launching a new emulator with Virtual Device 'SamsungGalaxyS' 
[2014-09-01 18:56:54 - POSStore] New emulator found: emulator-5554 
[2014-09-01 18:56:54 - POSStore] Waiting for HOME ('android.process.acore') to be launched... 
[2014-09-01 18:57:28 - POSStore] HOME is up on device 'emulator-5554' 
[2014-09-01 18:57:28 - POSStore] Uploading POSStore.apk onto device 'emulator-5554' 
[2014-09-01 18:57:28 - POSStore] Installing POSStore.apk... 
[2014-09-01 18:57:43 - POSStore] Success! 
[2014-09-01 18:57:43 - POSStore] Starting activity com.POS.Store.LoginActivity on device emulator-5554 
[2014-09-01 18:57:44 - POSStore] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.POS.Store/.LoginActivity } 
[2014-09-01 18:57:45 - POSStore] Attempting to connect debugger to 'com.POS.Store' on port 8626 

但是突然停止顯示控制檯顯示日誌。但應用程序已成功啓動並正在運行。

爲什麼控制檯停止顯示應用程序日誌?我更新了我的android版本。這會影響嗎?

回答

2

轉至顯示選擇的控制檯下拉到控制檯窗口右上角。並選擇Android

Console Image

+0

愚蠢的錯誤。萬分感謝。 – 2014-09-03 13:40:14

+1

+1 @MapleMable現在看起來似乎很愚蠢。盯着HOURS的東西很容易,而且看不到它。由於短信在一個名爲'sms'的文件夾中以小寫字母表示,因此我有大量代碼無法工作。花了我絕對的時間來弄清楚。現在我感到很蠢! :) – RossC 2014-09-03 13:45:42

相關問題