kkxiaoxian
kkxiaoxian
2017-04-13 15:47

关于Android程序闪退的错误日志

10
  • android

编写了一个包含listview的页面,listview基于另外一个activity可以通过按钮进行操作
但是在打开程序时出现了闪退现象,求大神帮忙解读一下错误日志,感谢
04-13 23:39:21.103: D/ResourcesManager(18150): For user 0 new overlays fetched Null
04-13 23:39:21.113: W/System(18150): ClassLoader referenced unknown path: /data/app/com.example.newrecorder-1/lib/arm64
04-13 23:39:21.173: D/AbsListView(18150): Get MotionRecognitionManager
04-13 23:39:21.183: E/MotionRecognitionManager(18150): mSContextService = android.hardware.scontext.ISContextService$Stub$Proxy@23c9d5e
04-13 23:39:21.183: E/MotionRecognitionManager(18150): motionService = com.samsung.android.motion.IMotionRecognitionService$Stub$Proxy@75d53f
04-13 23:39:21.183: E/MotionRecognitionManager(18150): motionService = com.samsung.android.motion.IMotionRecognitionService$Stub$Proxy@75d53f
04-13 23:39:21.183: I/MediaPlayer(18150): Need to enable context aware info
04-13 23:39:21.183: V/MediaPlayer-JNI(18150): native_setup
04-13 23:39:21.193: E/ExtMediaPlayer-JNI(18150): env->IsInstanceOf fails
04-13 23:39:21.193: E/MediaPlayer-JNI(18150): JNIMediaPlayerFactory: bIsQCMediaPlayerPresent 0
04-13 23:39:21.193: E/ExtMediaPlayer-JNI(18150): env->IsInstanceOf fails
04-13 23:39:21.193: E/MediaPlayer-JNI(18150): JNIMediaPlayerFactory: bIsQCMediaPlayerPresent 0
04-13 23:39:21.193: V/MediaPlayer(18150): constructor
04-13 23:39:21.193: V/MediaPlayer(18150): setListener
04-13 23:39:21.193: D/AndroidRuntime(18150): Shutting down VM
04-13 23:39:21.193: E/AndroidRuntime(18150): FATAL EXCEPTION: main
04-13 23:39:21.193: E/AndroidRuntime(18150): Process: com.example.newrecorder, PID: 18150
04-13 23:39:21.193: E/AndroidRuntime(18150): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.newrecorder/com.example.newrecorder.MainActivity}: java.lang.RuntimeException: setAudioSource failed.
04-13 23:39:21.193: E/AndroidRuntime(18150): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3254)
04-13 23:39:21.193: E/AndroidRuntime(18150): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3350)
04-13 23:39:21.193: E/AndroidRuntime(18150): at android.app.ActivityThread.access$1100(ActivityThread.java:223)
04-13 23:39:21.193: E/AndroidRuntime(18150): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1794)
04-13 23:39:21.193: E/AndroidRuntime(18150): at android.os.Handler.dispatchMessage(Handler.java:102)
04-13 23:39:21.193: E/AndroidRuntime(18150): at android.os.Looper.loop(Looper.java:148)
04-13 23:39:21.193: E/AndroidRuntime(18150): at android.app.ActivityThread.main(ActivityThread.java:7224)
04-13 23:39:21.193: E/AndroidRuntime(18150): at java.lang.reflect.Method.invoke(Native Method)
04-13 23:39:21.193: E/AndroidRuntime(18150): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
04-13 23:39:21.193: E/AndroidRuntime(18150): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
04-13 23:39:21.193: E/AndroidRuntime(18150): Caused by: java.lang.RuntimeException: setAudioSource failed.
04-13 23:39:21.193: E/AndroidRuntime(18150): at android.media.MediaRecorder._setAudioSource(Native Method)
04-13 23:39:21.193: E/AndroidRuntime(18150): at android.media.MediaRecorder.setAudioSource(MediaRecorder.java:488)
04-13 23:39:21.193: E/AndroidRuntime(18150): at com.example.newrecorder.MainActivity.onCreate(MainActivity.java:57)
04-13 23:39:21.193: E/AndroidRuntime(18150): at android.app.Activity.performCreate(Activity.java:6877)
04-13 23:39:21.193: E/AndroidRuntime(18150): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1136)
04-13 23:39:21.193: E/AndroidRuntime(18150): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3207)
04-13 23:39:21.193: E/AndroidRuntime(18150): ... 9 more
04-13 23:39:23.273: I/Process(18150): Sending signal. PID: 18150 SIG: 9

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

8条回答

为你推荐