06-09 12:32:48.043: ERROR/vold(26): Error opening switch name path '/sys/class/switch/test2' (No such file or directory)
06-09 12:32:48.153: ERROR/vold(26): Error bootstrapping switch '/sys/class/switch/test2' (No such file or directory)
06-09 12:32:48.153: ERROR/vold(26): Error opening switch name path '/sys/class/switch/test' (No such file or directory)
06-09 12:32:48.153: ERROR/vold(26): Error bootstrapping switch '/sys/class/switch/test' (No such file or directory)
06-09 12:33:02.222: ERROR/MemoryHeapBase(50): error opening /dev/pmem: No such file or directory
06-09 12:33:02.222: ERROR/SurfaceFlinger(50): Couldn't open /sys/power/wait_for_fb_sleep or /sys/power/wait_for_fb_wake
06-09 12:33:02.334: ERROR/libEGL(50): couldn't load <libhgl.so> library (Cannot load library: load_library[984]: Library 'libhgl.so' not found)
06-09 12:33:03.374: ERROR/libEGL(61): couldn't load <libhgl.so> library (Cannot load library: load_library[984]: Library 'libhgl.so' not found)
06-09 12:33:08.174: ERROR/BatteryService(50): Could not open '/sys/class/power_supply/usb/online'
06-09 12:33:08.174: ERROR/BatteryService(50): Could not open '/sys/class/power_supply/battery/batt_vol'
06-09 12:33:08.174: ERROR/BatteryService(50): Could not open '/sys/class/power_supply/battery/batt_temp'
06-09 12:33:08.853: ERROR/EventHub(50): could not get driver version for /dev/input/mouse0, Not a typewriter
06-09 12:33:08.853: ERROR/EventHub(50): could not get driver version for /dev/input/mice, Not a typewriter
06-09 12:33:09.114: ERROR/System(50): Failure starting core service
06-09 12:33:09.114: ERROR/System(50): java.lang.SecurityException
06-09 12:33:09.114: ERROR/System(50):     at android.os.BinderProxy.transact(Native Method)
06-09 12:33:09.114: ERROR/System(50):     at android.os.ServiceManagerProxy.addService(ServiceManagerNative.java:146)
06-09 12:33:09.114: ERROR/System(50):     at android.os.ServiceManager.addService(ServiceManager.java:72)
06-09 12:33:09.114: ERROR/System(50):     at com.android.server.ServerThread.run(SystemServer.java:162)
06-09 12:33:09.124: ERROR/AndroidRuntime(50): Crash logging skipped, no checkin service
06-09 12:33:10.634: ERROR/LockPatternKeyguardView(50): Failed to bind to GLS while checking for account
06-09 12:33:12.646: ERROR/jdwp(108): Failed sending req to debugger: Broken pipe (-1 of 27)
06-09 12:33:12.646: ERROR/jdwp(108): Failed sending req to debugger: Broken pipe (-1 of 27)
06-09 12:33:12.664: ERROR/jdwp(108): Failed sending reply to debugger: Broken pipe
06-09 12:33:16.073: ERROR/ActivityThread(108): Failed to find provider info for com.google.settings
06-09 12:33:16.073: ERROR/ActivityThread(108): Failed to find provider info for com.google.settings
06-09 12:33:20.113: ERROR/ApplicationContext(50): Couldn't create directory for SharedPreferences file shared_prefs/wallpaper-hints.xml
06-09 12:33:23.414: ERROR/vold(26): Cannot start volume '/sdcard' (volume is not bound)
06-09 12:33:30.234: ERROR/MediaPlayerService(30): Couldn't open fd for content://settings/system/notification_sound
06-09 12:33:30.273: ERROR/MediaPlayer(50): Unable to to create media player

解决方案 »

  1.   

    楼主,报错写的很明白啊,你没有这个文件,或者说你没有权限,你肯定是在manifest.xml文件中没有配置相应的权限
      

  2.   

    这些log都是表象你不如说下工程什么建立的 
    全是路径错误
      

  3.   

    这些log日志,没有显示具体的原因!都是一些路径找不到!创建失败等!
      

  4.   

    同感,我给大家提供完整的ERROR,请大家提提意见。
    06-12 12:43:43.740: ERROR/vold(550): Error opening switch name path '/sys/class/switch/test2' (No such file or directory)
    06-12 12:43:43.740: ERROR/vold(550): Error bootstrapping switch '/sys/class/switch/test2' (m)
    06-12 12:43:43.740: ERROR/vold(550): Error opening switch name path '/sys/class/switch/test' (No such file or directory)
    06-12 12:43:43.740: ERROR/vold(550): Error bootstrapping switch '/sys/class/switch/test' (m)
    06-12 12:43:43.921: ERROR/flash_image(557): can't find recovery partition
    06-12 12:43:56.720: ERROR/MemoryHeapBase(579): error opening /dev/pmem: No such file or directory
    06-12 12:43:56.720: ERROR/SurfaceFlinger(579): Couldn't open /sys/power/wait_for_fb_sleep or /sys/power/wait_for_fb_wake
    06-12 12:43:56.760: ERROR/GLLogger(579): couldn't load <libhgl.so> library (Cannot find library)
    06-12 12:43:56.871: ERROR/GLLogger(579): couldn't load <libhgl.so> library (Cannot find library)
    06-12 12:43:59.731: ERROR/BatteryService(579): Could not open '/sys/class/power_supply/usb/online'
    06-12 12:43:59.731: ERROR/BatteryService(579): Could not open '/sys/class/power_supply/battery/batt_vol'
    06-12 12:43:59.731: ERROR/BatteryService(579): Could not open '/sys/class/power_supply/battery/batt_temp'
    06-12 12:44:00.061: ERROR/EventHub(579): could not get driver version for /dev/input/mouse0, Not a typewriter
    06-12 12:44:00.090: ERROR/EventHub(579): could not get driver version for /dev/input/mice, Not a typewriter
    06-12 12:44:00.141: ERROR/System(579): Failure starting core service
    06-12 12:44:00.141: ERROR/System(579): java.lang.SecurityException
    06-12 12:44:00.141: ERROR/System(579):     at android.os.BinderProxy.transact(Native Method)
    06-12 12:44:00.141: ERROR/System(579):     at android.os.ServiceManagerProxy.addService(ServiceManagerNative.java:146)
    06-12 12:44:00.141: ERROR/System(579):     at android.os.ServiceManager.addService(ServiceManager.java:72)
    06-12 12:44:00.141: ERROR/System(579):     at com.android.server.ServerThread.run(SystemServer.java:163)
    06-12 12:44:00.151: ERROR/AndroidRuntime(579): Crash logging skipped, no checkin service
    06-12 12:44:01.540: ERROR/LockPatternKeyguardView(579): Failed to bind to GLS while checking for account
    06-12 12:44:06.260: ERROR/ApplicationContext(579): Couldn't create directory for SharedPreferences file shared_prefs/wallpaper-hints.xml
    06-12 12:44:09.732: ERROR/ActivityThread(625): Failed to find provider info for android.server.checkin
    06-12 12:44:11.133: ERROR/ActivityThread(625): Failed to find provider info for android.server.checkin
    06-12 12:44:11.283: ERROR/ActivityThread(625): Failed to find provider info for android.server.checkin
      

  5.   

    编译的libhgl.so文件没有导入或者导入失败