09-26 10:43:32.492: ERROR/vold(27): Error opening switch name path '/sys/class/switch/test' (No such file or directory)
09-26 10:43:32.492: ERROR/vold(27): Error bootstrapping switch '/sys/class/switch/test' (No such file or directory)
09-26 10:43:32.492: ERROR/vold(27): Error opening switch name path '/sys/class/switch/test2' (No such file or directory)
09-26 10:43:32.492: ERROR/vold(27): Error bootstrapping switch '/sys/class/switch/test2' (No such file or directory)
09-26 10:43:54.312: ERROR/BatteryService(61): usbOnlinePath not found
09-26 10:43:54.333: ERROR/BatteryService(61): batteryVoltagePath not found
09-26 10:43:54.333: ERROR/BatteryService(61): batteryTemperaturePath not found
09-26 10:43:54.427: ERROR/SurfaceFlinger(61): Couldn't open /sys/power/wait_for_fb_sleep or /sys/power/wait_for_fb_wake
09-26 10:44:02.062: ERROR/EventHub(61): could not get driver version for /dev/input/mouse0, Not a typewriter
09-26 10:44:02.073: ERROR/EventHub(61): could not get driver version for /dev/input/mice, Not a typewriter
09-26 10:44:02.443: ERROR/System(61): Failure starting core service
09-26 10:44:02.443: ERROR/System(61): java.lang.SecurityException
09-26 10:44:02.443: ERROR/System(61): at android.os.BinderProxy.transact(Native Method)
09-26 10:44:02.443: ERROR/System(61): at android.os.ServiceManagerProxy.addService(ServiceManagerNative.java:146)
09-26 10:44:02.443: ERROR/System(61): at android.os.ServiceManager.addService(ServiceManager.java:72)
09-26 10:44:02.443: ERROR/System(61): at com.android.server.ServerThread.run(SystemServer.java:176)
09-26 10:44:02.455: ERROR/AndroidRuntime(61): Crash logging skipped, no checkin service
09-26 10:44:16.540: ERROR/ActivityThread(112): Failed to find provider info for android.server.checkin
09-26 10:44:19.405: ERROR/ActivityThread(112): Failed to find provider info for android.server.checkin
09-26 10:44:19.600: ERROR/ActivityThread(112): Failed to find provider info for android.server.checkin
09-26 10:44:20.420: ERROR/MediaPlayerService(31): Couldn't open fd for content://settings/system/notification_sound
09-26 10:44:20.430: ERROR/MediaPlayer(61): Unable to to create media player
09-26 10:44:26.810: ERROR/AndroidRuntime(132): ERROR: thread attach failed
09-26 10:44:33.330: ERROR/AndroidRuntime(182): ERROR: thread attach failed
09-26 10:44:34.799: ERROR/AndroidRuntime(211): Uncaught handler: thread main exiting due to uncaught exception
09-26 10:44:34.850: ERROR/AndroidRuntime(211): java.lang.RuntimeException: Unable to start activity ComponentInfo{org.example.Sudoku/org.example.Sudoku.Sudoku}: java.lang.NullPointerException
09-26 10:44:34.850: ERROR/AndroidRuntime(211): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2496)
09-26 10:44:34.850: ERROR/AndroidRuntime(211): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2512)
09-26 10:44:34.850: ERROR/AndroidRuntime(211): at android.app.ActivityThread.access$2200(ActivityThread.java:119)
09-26 10:44:34.850: ERROR/AndroidRuntime(211): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1863)
09-26 10:44:34.850: ERROR/AndroidRuntime(211): at android.os.Handler.dispatchMessage(Handler.java:99)
09-26 10:44:34.850: ERROR/AndroidRuntime(211): at android.os.Looper.loop(Looper.java:123)
09-26 10:44:34.850: ERROR/AndroidRuntime(211): at android.app.ActivityThread.main(ActivityThread.java:4363)
09-26 10:44:34.850: ERROR/AndroidRuntime(211): at java.lang.reflect.Method.invokeNative(Native Method)
09-26 10:44:34.850: ERROR/AndroidRuntime(211): at java.lang.reflect.Method.invoke(Method.java:521)
09-26 10:44:34.850: ERROR/AndroidRuntime(211): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
09-26 10:44:34.850: ERROR/AndroidRuntime(211): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
09-26 10:44:34.850: ERROR/AndroidRuntime(211): at dalvik.system.NativeStart.main(Native Method)
09-26 10:44:34.850: ERROR/AndroidRuntime(211): Caused by: java.lang.NullPointerException
09-26 10:44:34.850: ERROR/AndroidRuntime(211): at org.example.Sudoku.Sudoku.onCreate(Sudoku.java:16)
09-26 10:44:34.850: ERROR/AndroidRuntime(211): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
09-26 10:44:34.850: ERROR/AndroidRuntime(211): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2459)
09-26 10:44:34.850: ERROR/AndroidRuntime(211): ... 11 more
出这个错误 请高手解决谢谢
09-26 10:43:32.492: ERROR/vold(27): Error bootstrapping switch '/sys/class/switch/test' (No such file or directory)
09-26 10:43:32.492: ERROR/vold(27): Error opening switch name path '/sys/class/switch/test2' (No such file or directory)
09-26 10:43:32.492: ERROR/vold(27): Error bootstrapping switch '/sys/class/switch/test2' (No such file or directory)
09-26 10:43:54.312: ERROR/BatteryService(61): usbOnlinePath not found
09-26 10:43:54.333: ERROR/BatteryService(61): batteryVoltagePath not found
09-26 10:43:54.333: ERROR/BatteryService(61): batteryTemperaturePath not found
09-26 10:43:54.427: ERROR/SurfaceFlinger(61): Couldn't open /sys/power/wait_for_fb_sleep or /sys/power/wait_for_fb_wake
09-26 10:44:02.062: ERROR/EventHub(61): could not get driver version for /dev/input/mouse0, Not a typewriter
09-26 10:44:02.073: ERROR/EventHub(61): could not get driver version for /dev/input/mice, Not a typewriter
09-26 10:44:02.443: ERROR/System(61): Failure starting core service
09-26 10:44:02.443: ERROR/System(61): java.lang.SecurityException
09-26 10:44:02.443: ERROR/System(61): at android.os.BinderProxy.transact(Native Method)
09-26 10:44:02.443: ERROR/System(61): at android.os.ServiceManagerProxy.addService(ServiceManagerNative.java:146)
09-26 10:44:02.443: ERROR/System(61): at android.os.ServiceManager.addService(ServiceManager.java:72)
09-26 10:44:02.443: ERROR/System(61): at com.android.server.ServerThread.run(SystemServer.java:176)
09-26 10:44:02.455: ERROR/AndroidRuntime(61): Crash logging skipped, no checkin service
09-26 10:44:16.540: ERROR/ActivityThread(112): Failed to find provider info for android.server.checkin
09-26 10:44:19.405: ERROR/ActivityThread(112): Failed to find provider info for android.server.checkin
09-26 10:44:19.600: ERROR/ActivityThread(112): Failed to find provider info for android.server.checkin
09-26 10:44:20.420: ERROR/MediaPlayerService(31): Couldn't open fd for content://settings/system/notification_sound
09-26 10:44:20.430: ERROR/MediaPlayer(61): Unable to to create media player
09-26 10:44:26.810: ERROR/AndroidRuntime(132): ERROR: thread attach failed
09-26 10:44:33.330: ERROR/AndroidRuntime(182): ERROR: thread attach failed
09-26 10:44:34.799: ERROR/AndroidRuntime(211): Uncaught handler: thread main exiting due to uncaught exception
09-26 10:44:34.850: ERROR/AndroidRuntime(211): java.lang.RuntimeException: Unable to start activity ComponentInfo{org.example.Sudoku/org.example.Sudoku.Sudoku}: java.lang.NullPointerException
09-26 10:44:34.850: ERROR/AndroidRuntime(211): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2496)
09-26 10:44:34.850: ERROR/AndroidRuntime(211): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2512)
09-26 10:44:34.850: ERROR/AndroidRuntime(211): at android.app.ActivityThread.access$2200(ActivityThread.java:119)
09-26 10:44:34.850: ERROR/AndroidRuntime(211): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1863)
09-26 10:44:34.850: ERROR/AndroidRuntime(211): at android.os.Handler.dispatchMessage(Handler.java:99)
09-26 10:44:34.850: ERROR/AndroidRuntime(211): at android.os.Looper.loop(Looper.java:123)
09-26 10:44:34.850: ERROR/AndroidRuntime(211): at android.app.ActivityThread.main(ActivityThread.java:4363)
09-26 10:44:34.850: ERROR/AndroidRuntime(211): at java.lang.reflect.Method.invokeNative(Native Method)
09-26 10:44:34.850: ERROR/AndroidRuntime(211): at java.lang.reflect.Method.invoke(Method.java:521)
09-26 10:44:34.850: ERROR/AndroidRuntime(211): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
09-26 10:44:34.850: ERROR/AndroidRuntime(211): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
09-26 10:44:34.850: ERROR/AndroidRuntime(211): at dalvik.system.NativeStart.main(Native Method)
09-26 10:44:34.850: ERROR/AndroidRuntime(211): Caused by: java.lang.NullPointerException
09-26 10:44:34.850: ERROR/AndroidRuntime(211): at org.example.Sudoku.Sudoku.onCreate(Sudoku.java:16)
09-26 10:44:34.850: ERROR/AndroidRuntime(211): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
09-26 10:44:34.850: ERROR/AndroidRuntime(211): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2459)
09-26 10:44:34.850: ERROR/AndroidRuntime(211): ... 11 more
出这个错误 请高手解决谢谢
解决方案 »
- 新手请教下关于ListView的小问题
- [Android Robotium]修改apk签名后install, Run As Android JUnit Test出错
- 如何消除系统的短信通知
- android 内存
- notification上的图标设置后,呈拉伸状态,如何设置居中并保持图片大小不拉伸
- Android的adbd存放位置在哪里
- Eclipse Errors running builder 'CDT Builder' java.lang.NullPointerException
- 安卓报错
- 如何获取同一WiFi下的所有连接终端的物理地址
- 求助安卓开发:利用PackageManage怎么获取所有应用活动
- 关于这样布局的一个思路
- 关于手机支付功能实现
看下Sudoku.java的第16行代码
以上的异常是启动模拟器时就会报的,我也遇到了,顶下!