简体   繁体   中英

my android phone stopped suddenly

I am developing an android app and was trying this app on my phone, my phone has several problems in it so it's not quit good... and I'm just using it for development but was trying my app on it and the app started and suddenly the screen freezed and the phone shut down and I can't turn it on again so I need to know can an app do that if it contains bad code or... because I ran the app on an emulator and it worked exactly as I needed with no errors... and now my pc is not recognising the usb anymore... so anyone had this problem before? thank you.

here's the 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.

This is a common problem, mine did it this morning as well. It happens when the battery runs out.

让它放一个小时,然后按下电源按钮和提高音量按钮,尽管我之前按过这些按钮,但它仍然打开,但没有结果,我不知道问题出在哪里,但它又能正常工作了...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM