2013-10-10 83 views
0

我正在開發一個android應用程序,並在我的手機上試用此應用程序,我的手機有幾個問題,所以它不會退出...我只是用它進行開發,但正在嘗試我的應用程序和應用程序啓動,突然間屏幕凍結,手機關閉,我不能再打開它,所以我需要知道如果應用程序包含錯誤代碼或者...因爲我跑了應用程序在模擬器上,它的工作完全按照我的需要沒有錯誤...現在我的電腦沒有識別USB了...所以任何人有這個問題之前?謝謝。我的android手機突然停止

這裏的logcat的:

10-10 13:35:39.990: E/arm-runtime(492): /mnt/sdcard is not mounted. 
10-10 13:35:39.990: E/arm-runtime(492): --------- beginning of /dev/log/system 
10-10 13:35:40.990: E/pppd(501): In file /etc/ppp/peers/gprs: unrecognized option '/dev/ttyUSB0' 
10-10 13:35:48.460: E/ServiceManager(485): add_service('bsttest',0x2) uid=1013 - ALREADY REGISTERED 
10-10 13:35:48.460: E/ALSALib(495): external/alsa-lib/src/control/control.c:902:(snd_ctl_open_noupdate) Invalid CTL AndroidOut 
10-10 13:35:48.460: E/ALSALib(495): external/alsa-lib/src/mixer/simple_none.c:1546:(simple_add1) helem (MIXER,'PCM Capture Volume',0,0,1) appears twice or more 
10-10 13:35:48.460: E/AudioHardwareALSA(495): Unable to load mixer elements: Invalid argument 
10-10 13:35:48.460: E/ALSALib(495): external/alsa-lib/src/control/control.c:902:(snd_ctl_open_noupdate) Invalid CTL AndroidIn 
10-10 13:35:48.460: E/ALSALib(495): external/alsa-lib/src/mixer/simple_none.c:1546:(simple_add1) helem (MIXER,'PCM Capture Volume',0,0,1) appears twice or more 
10-10 13:35:48.460: E/AudioHardwareALSA(495): Unable to load mixer elements: Invalid argument 
10-10 13:35:48.810: E/ALSALib(495): external/alsa-lib/src/pcm/pcm.c:2210:(snd_pcm_open_noupdate) Unknown PCM AndroidPlayback_Speaker_normal 
10-10 13:35:48.810: E/ALSALib(495): external/alsa-lib/src/pcm/pcm.c:2210:(snd_pcm_open_noupdate) Unknown PCM AndroidPlayback_Speaker 
10-10 13:35:48.810: E/ALSALib(495): external/alsa-lib/src/pcm/pcm.c:2210:(snd_pcm_open_noupdate) Unknown PCM AndroidPlayback 
10-10 13:35:48.850: E/ALSALib(495): external/alsa-lib/src/confmisc.c:136:(snd_config_get_bool) Invalid type for nonblock 
10-10 13:36:00.970: E/Zygote(491): setreuid() failed. errno: 30 
10-10 13:36:00.970: E/Zygote(492): setreuid() failed. errno: 30 
10-10 13:36:07.820: E/Zygote(492): setreuid() failed. errno: 30 
10-10 13:36:10.120: E/Zygote(491): setreuid() failed. errno: 30 
10-10 13:36:10.320: E/BatteryService(521): usbOnlinePath not found 
10-10 13:36:10.320: E/BatteryService(521): batteryStatusPath not found 
10-10 13:36:10.320: E/BatteryService(521): batteryHealthPath not found 
10-10 13:36:10.320: E/BatteryService(521): batteryPresentPath not found 
10-10 13:36:10.320: E/BatteryService(521): batteryCapacityPath not found 
10-10 13:36:10.320: E/BatteryService(521): batteryVoltagePath not found 
10-10 13:36:10.320: E/BatteryService(521): batteryTemperaturePath not found 
10-10 13:36:10.320: E/BatteryService(521): batteryTechnologyPath not found 
10-10 13:36:10.350: E/SurfaceFlinger(521): Couldn't open /sys/power/wait_for_fb_sleep or /sys/power/wait_for_fb_wake 
10-10 13:36:11.370: E/HdIpc(521): Connect failed err = -1 errno = 110 (ETIMEDOUT). Timeout log will be logged only once per process 
10-10 13:36:11.370: E/PGA(521): Failed to connect to host, err = -1, retrying... This will be logged only once per process to avoid flooding the logs. 
+0

我有一種感覺,你軟刷手機。 – Razgriz

+0

但我告訴過你,我的軟件在模擬器上工作得很好......加上我的手機的led仍然亮着,但是當我啓動它時,它給我帶來了黑色線條的屏幕,並關閉了它... – user2849412

+0

發佈您的logcat trace –

回答

3

這是一個常見的問題,我的今天早上做了它。它發生在電池耗盡時。

+0

heheh不,這不是問題我的電池是50%滿... – user2849412

0

讓它關閉一個小時,然後按下音量增加按鈕的電源按鈕,它打開,雖然我按下這些按鈕之前,並沒有結果我不知道是什麼問題,但它再次工作..