04-21 02:27:40.341: E/vold(27): Error opening switch name path '/sys/class/switch/test2' (No such file or directory)
04-21 02:27:40.341: E/vold(27): Error bootstrapping switch '/sys/class/switch/test2' (No such file or directory)
04-21 02:27:40.341: E/vold(27): Error opening switch name path '/sys/class/switch/test' (No such file or directory)
04-21 02:27:40.341: E/vold(27): Error bootstrapping switch '/sys/class/switch/test' (No such file or directory)
04-21 02:27:49.111: E/BatteryService(52): usbOnlinePath not found
04-21 02:27:49.111: E/BatteryService(52): batteryVoltagePath not found
04-21 02:27:49.111: E/BatteryService(52): batteryTemperaturePath not found
04-21 02:27:49.111: E/SurfaceFlinger(52): Couldn't open /sys/power/wait_for_fb_sleep or /sys/power/wait_for_fb_wake
04-21 02:27:52.211: E/EventHub(52): could not get driver version for /dev/input/mouse0, Not a typewriter
04-21 02:27:52.211: E/EventHub(52): could not get driver version for /dev/input/mice, Not a typewriter
04-21 02:27:53.231: E/System(52): Failure starting core service
04-21 02:27:53.231: E/System(52): java.lang.SecurityException
04-21 02:27:53.231: E/System(52): at android.os.BinderProxy.transact(Native Method)
04-21 02:27:53.231: E/System(52): at android.os.ServiceManagerProxy.addService(ServiceManagerNative.java:146)
04-21 02:27:53.231: E/System(52): at android.os.ServiceManager.addService(ServiceManager.java:72)
04-21 02:27:53.231: E/System(52): at com.android.server.ServerThread.run(SystemServer.java:176)
04-21 02:27:53.251: E/AndroidRuntime(52): Crash logging skipped, no checkin service
04-21 02:28:01.915: E/ActivityThread(102): Failed to find provider info for android.server.checkin
04-21 02:28:03.255: E/ActivityThread(102): Failed to find provider info for android.server.checkin
04-21 02:28:03.325: E/ActivityThread(102): Failed to find provider info for android.server.checkin
04-21 02:28:05.265: E/MediaPlayerService(31): Couldn't open fd for content://settings/system/notification_sound
04-21 02:28:05.295: E/MediaPlayer(52): Unable to to create media player
04-21 02:28:13.005: E/AndroidRuntime(131): ERROR: thread attach failed
04-21 02:28:14.785: E/AndroidRuntime(210): ERROR: thread attach failed
04-21 02:28:14.975: E/jdwp(222): Failed sending req to debugger: Broken pipe (-1 of 27)
04-21 02:28:14.975: E/jdwp(222): Failed sending req to debugger: Broken pipe (-1 of 27)
04-21 02:28:14.975: E/jdwp(222): Failed sending reply to debugger: Broken pipe
답변
문제는 네이티브 함수 시그니처에 있다고 생각합니다. JNIEXPORT 및 JNICALL을 사용하여이를 취소해야합니다.
헤더 및 소스 파일을 생성 할 때 javah 도구를 사용하십시오. JNI Example
그리고 다음 번에 또 다른 질문을하기 전에 java-lang-unsatisfiedlinkerror 같은 몇 가지 관련 답변을 찾아보십시오 : 여기
은 예입니다.
이런 식으로 게시하는 것에 대해 죄송합니다. – user1243489
'사용중인 창은 어디에서 왔습니까? – user1243489
내 게임을 Android로 포팅하면 프로젝트가 완료됩니다. 도움이 필요한 사람 – user1243489
- 1. Eclipse Android 런타임 오류
- 2. Android/Eclipse : LogCat 지원
- 3. Android Logcat 오류
- 4. Android EditText의 logcat 오류
- 5. Eclipse Android - Logcat Clearing too Fast
- 6. Android, Logcat 창이 사라졌습니다.
- 7. Java 런타임 오류
- 8. java fileIO 런타임 오류
- 9. Java Postgresql 런타임 오류
- 10. LogCat & Console이 Eclipse Android 에뮬레이터와 함께 작동하지 않습니다.
- 11. EditText.setText의 Android 런타임 오류
- 12. Eclipse (Android) IDE 오류
- 13. Android : Logcat 오류 oncastListener가 캐스팅 된 경우
- 14. Eclipse 런타임 환경 변경
- 15. Eclipse 프로젝트 런타임 문제
- 16. Eclipse Android Project 오류
- 17. 출시시 Android Eclipse 오류
- 18. Android/Eclipse 오류 - "메소드 '
- 19. Android SDK Eclipse 오류
- 20. StackOverflow 오류 Android/Eclipse
- 21. Android LogCat IntelliJ
- 22. Logcat 문제가 android
- 23. Android Logcat Help
- 24. Android ProgressDialog 런타임 예외 오류
- 25. Android/Eclipse : 빈 Logcat을 피하는 방법? (Logcat 버그)
- 26. Eclipse android LogCat : GCMRegistrar : 앱 오류에 regId 저장
- 27. Android - Eclipse 빠른보기가 해제되지 않음 탈출을 통한 LogCat
- 28. Groovy Eclipse XML RPC - 런타임 감지 런타임 오류 속성
- 29. Eclipse 프로젝트 런타임 오류 내에서의 Jar
- 30. Java 오류 (런타임 예외 - 잘못된 인수 예외) - Android
이 오류가 발생하는 상황에 대한 정보는 어떻습니까? TestsDemo.java에서 실행하는 일부 코드는 40 행입니다. – WarrenFaith
onCreate 함수 (40 줄)에 오류가 나타납니다. onCreate 메소드 및 기타 관련 정보를 게시 할 수 있습니까? –
'UnsatisfiedLinkError' : 코드에서 요구하는 네이티브 라이브러리를 포함하지 않은 것 같습니다. – zapl