2010-07-04 4 views
0
07-03 23:59:01.067: ERROR/vold(26): Error opening switch name path '/sys/class/switch/test' (No such file or directory) 
07-03 23:59:01.067: ERROR/vold(26): Error bootstrapping switch '/sys/class/switch/test' (No such file or directory) 
07-03 23:59:01.067: ERROR/vold(26): Error opening switch name path '/sys/class/switch/test2' (No such file or directory) 
07-03 23:59:01.067: ERROR/vold(26): Error bootstrapping switch '/sys/class/switch/test2' (No such file or directory) 
07-03 23:59:28.297: ERROR/BatteryService(60): usbOnlinePath not found 
07-03 23:59:28.307: ERROR/BatteryService(60): batteryVoltagePath not found 
07-03 23:59:28.307: ERROR/BatteryService(60): batteryTemperaturePath not found 
07-03 23:59:28.407: ERROR/SurfaceFlinger(60): Couldn't open /sys/power/wait_for_fb_sleep or /sys/power/wait_for_fb_wake 
07-03 23:59:39.097: ERROR/EventHub(60): could not get driver version for /dev/input/mouse0, Not a typewriter 
07-03 23:59:39.137: ERROR/EventHub(60): could not get driver version for /dev/input/mice, Not a typewriter 
07-03 23:59:39.777: ERROR/System(60): Failure starting core service 
07-03 23:59:39.777: ERROR/System(60): java.lang.SecurityException 
07-03 23:59:39.777: ERROR/System(60):  at android.os.BinderProxy.transact(Native Method) 
07-03 23:59:39.777: ERROR/System(60):  at android.os.ServiceManagerProxy.addService(ServiceManagerNative.java:146) 
07-03 23:59:39.777: ERROR/System(60):  at android.os.ServiceManager.addService(ServiceManager.java:72) 
07-03 23:59:39.777: ERROR/System(60):  at com.android.server.ServerThread.run(SystemServer.java:176) 
07-03 23:59:39.837: ERROR/AndroidRuntime(60): Crash logging skipped, no checkin service 
07-04 00:00:00.400: ERROR/vold(26): Cannot start volume '/sdcard' (volume is not bound) 
07-04 00:00:01.147: ERROR/MediaPlayerService(30): Couldn't open fd for content://settings/system/notification_sound 
07-04 00:00:01.227: ERROR/MediaPlayer(60): Unable to to create media player 
07-04 00:00:06.315: ERROR/ActivityThread(104): Failed to find provider info for android.server.checkin 
07-04 00:00:11.615: ERROR/ActivityThread(104): Failed to find provider info for android.server.checkin 
07-04 00:00:12.124: ERROR/ActivityThread(104): Failed to find provider info for android.server.checkin 
07-04 00:00:35.335: ERROR/AndroidRuntime(126): ERROR: thread attach failed 
07-04 00:00:42.835: ERROR/AndroidRuntime(211): ERROR: thread attach failed 

답변

0

저는 Android에서 작업 중이며 로그 중간에 예외가 있다고 가정합니다.

SecurityException은 응용 프로그램에 필요한 사용 권한을주지 않으려는 것을 의미합니다. 설명 된 XML 파일을 변경해야합니다 (here).

+0

필요한 사용 권한을 확인하는 방법 나는 권한이 추가 된 것처럼 간단한 프로그램을위한 코드를 아직 보지 못했다. – Jamie

+0

정말 그 프로그램이 무엇을하려하는지에 달려 있습니다. 내 답변의 링크와 다음 목록에서도 유용한 정보를 찾으십시오. http://developer.android.com/reference/android/Manifest.permission.html (Android 시스템에서 사용 가능한 모든 권한의 포괄적 인 목록) – adamk

+0

프로그램은 골프 핸디캡 계산기입니다. 그것은 이미지 버튼과 버튼 리스너를 가지고 있으며, 몇 개의 텍스트 상자를 편집하면됩니다. 나는 그것이 추락하기 때문에 아직 어떤 것도 추가하지 않았다. 나는 제안 된 목록을 보았고 필요한 권한을 찾지 못했습니다. .java 파일은 .xml 파일에서 레이아웃을 가져오고 아직 기능을 설정하지 않았습니다. 에뮬레이터가 충돌하는 이유를 생각해 볼 수 있습니까? – Jamie