11-05 06:55:21.747: ERROR/Zygote(33): setreuid() failed. errno: 2
11-05 06:55:31.646: ERROR/Zygote(33): setreuid() failed. errno: 17
11-05 06:55:33.377: ERROR/BatteryService(67): usbOnlinePath not found
11-05 06:55:33.377: ERROR/BatteryService(67): batteryVoltagePath not found
11-05 06:55:33.377: ERROR/BatteryService(67): batteryTemperaturePath not found
11-05 06:55:33.407: ERROR/SurfaceFlinger(67): Couldn't open /sys/power/wait_for_fb_sleep or /sys/power/wait_for_fb_wake
11-05 06:55:40.197: ERROR/EventHub(67): could not get driver version for /dev/input/mouse0, Not a typewriter
11-05 06:55:40.197: ERROR/EventHub(67): could not get driver version for /dev/input/mice, Not a typewriter
11-05 06:55:40.457: ERROR/System(67): Failure starting core service
11-05 06:55:40.457: ERROR/System(67): java.lang.SecurityException
11-05 06:55:40.457: ERROR/System(67):     at android.os.BinderProxy.transact(Native Method)
11-05 06:55:40.457: ERROR/System(67):     at android.os.ServiceManagerProxy.addService(ServiceManagerNative.java:146)
11-05 06:55:40.457: ERROR/System(67):     at android.os.ServiceManager.addService(ServiceManager.java:72)
11-05 06:55:40.457: ERROR/System(67):     at com.android.server.ServerThread.run(SystemServer.java:184)
11-05 06:55:41.416: ERROR/SoundPool(67): error loading /system/media/audio/ui/Effect_Tick.ogg
11-05 06:55:41.416: ERROR/SoundPool(67): error loading /system/media/audio/ui/KeypressStandard.ogg
11-05 06:55:41.416: ERROR/SoundPool(67): error loading /system/media/audio/ui/KeypressSpacebar.ogg
11-05 06:55:41.427: ERROR/SoundPool(67): error loading /system/media/audio/ui/KeypressDelete.ogg
11-05 06:55:41.427: ERROR/SoundPool(67): error loading /system/media/audio/ui/KeypressReturn.ogg
11-05 06:55:43.916: ERROR/ThrottleService(67): Could not open GPS configuration file /etc/gps.conf
11-05 06:55:45.497: ERROR/logwrapper(148): executing /system/bin/tc failed: No such file or directory
11-05 06:55:45.576: ERROR/logwrapper(149): executing /system/bin/tc failed: No such file or directory
11-05 06:55:45.641: ERROR/logwrapper(150): executing /system/bin/tc failed: No such file or directory
11-05 06:55:59.460: ERROR/HierarchicalStateMachine(67): TetherMaster - unhandledMessage: msg.what=3
请问这种错误是由什么引起的

解决方案 »

  1.   

    Could not open GPS configuration file /etc/gps.conf
    不能打开配置文件gps.conf
    executing /system/bin/tc failed: No such file or directory
    找不到文件或目录
    楼主都检查这两个地方了?
      

  2.   


    11-05 18:47:51.531: E/AndroidRuntime(4487): FATAL EXCEPTION: main
    11-05 18:47:51.531: E/AndroidRuntime(4487): java.lang.NullPointerException
    11-05 18:47:51.531: E/AndroidRuntime(4487):  at com.net.java.wjd.Main.onSensorChanged(Main.java:125)
    11-05 18:47:51.531: E/AndroidRuntime(4487):  at android.hardware.SensorManager$ListenerDelegate$1.handleMessage(SensorManager.java:456)
    11-05 18:47:51.531: E/AndroidRuntime(4487):  at android.os.Handler.dispatchMessage(Handler.java:99)
    11-05 18:47:51.531: E/AndroidRuntime(4487):  at android.os.Looper.loop(Looper.java:123)
    11-05 18:47:51.531: E/AndroidRuntime(4487):  at android.app.ActivityThread.main(ActivityThread.java:4633)
    11-05 18:47:51.531: E/AndroidRuntime(4487):  at java.lang.reflect.Method.invokeNative(Native Method)
    11-05 18:47:51.531: E/AndroidRuntime(4487):  at java.lang.reflect.Method.invoke(Method.java:521)
    11-05 18:47:51.531: E/AndroidRuntime(4487):  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:858)
    11-05 18:47:51.531: E/AndroidRuntime(4487):  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
    11-05 18:47:51.531: E/AndroidRuntime(4487):  at dalvik.system.NativeStart.main(Native Method)
    上面的打错了,不好意思。。
      

  3.   

    检查你的Main.java类的125行啊
    看是哪个引用在调用了方法,该引用还没有被出示化(例如没有new过就调用方法)
      

  4.   

    npe么。lz去查com.net.java.wjd.Main.onSensorChanged(Main.java:125)
    这个啊
    贴代码