问题
I've got a Galaxy Nexus and today it started to give me a Segmentation fault error when deploying to it:
[2011-12-07 16:19:17 - Flinders Lite] Android Launch!
[2011-12-07 16:19:17 - Flinders Lite] adb is running normally.
[2011-12-07 16:19:17 - Flinders Lite] Performing com.istudentgroup.flinders.lite.activity.MainMenuActivity activity launch
[2011-12-07 16:19:20 - Flinders Lite] Uploading Flinders Lite.apk onto device '0146914B19021011'
[2011-12-07 16:19:23 - Flinders Lite] Installing Flinders Lite.apk...
[2011-12-07 16:19:25 - Flinders Lite] Success!
[2011-12-07 16:19:25 - Flinders Lite] Starting activity com.istudentgroup.flinders.lite.activity.MainMenuActivity on device 0146914B19021011
[2011-12-07 16:19:26 - Flinders Lite] ActivityManager: Segmentation fault
I can open a shell in to the handset and can navigate the directory structure and the phone seems to be operating normally otherwise.
Does anyone know what is going on? How do I fix it?
Logcat output : http://pastebin.com/VxGdAbap
回答1:
Have you updated the Android SDK / ADB / Eclipse recently? I had a similar problem after an update due to inconsistency between versions. The problem was corrected after forcing eclipse to check for updates (and install them) of anything that I had installed.
回答2:
Reflashing the stock image, using tools from the superboot from modaco worked. I used the 4.0.1 (ITL41F) version as this includes the recently released volume bug fix.
回答3:
I also had the issue.
Make sure your sdk and adt are of latest version.
If the issue still there then its due to the rom installed.
- Some custom roms may leads to this issue.
- Installation of busybox may lead to this issue.
- Corrupted OS installation.
This can be solved by wiping all data and putting stock rom back.
来源:https://stackoverflow.com/questions/8418713/segmentation-fault-when-deploying-to-handset