我正在使用com.github.florent37:camerafragment:1.0.8。它在棒棒糖中很好,但在Nougat没有工作

时间:2018-03-29 07:20:12

标签: android android-studio camera

我正在使用florent37:cameraFragment用于自定义相机。它在棒棒糖中工作正常,但它不适用于Nougat版本。请帮帮我。提前致谢

 E/WVMExtractor: Failed to open libwvm.so: dlopen failed: library "libwvm.so" not found
    03-29 12:41:47.722 3773-3863/com.camerasample I/OMXClient: MuxOMX ctor
    03-29 12:41:47.914 3773-3836/com.camerasample I/MediaRecorderJNI: prepare: surface=0x98162800
    03-29 12:41:48.115 3773-3836/com.camerasample E/MediaRecorder: start failed: -2147483648
    03-29 12:41:48.115 3773-3836/com.camerasample E/AndroidRuntime: FATAL EXCEPTION: BaseCameraManager
                                                                              Process: com.camerasample, PID: 3773
                                                                              java.lang.RuntimeException: start failed.
                                                                                  at android.media.MediaRecorder.start(Native Method)
                                                                                  at com.github.florent37.camerafragment.internal.manager.impl.Camera1Manager$4.run(Camera1Manager.java:192)
                                                                                  at android.os.Handler.handleCallback(Handler.java:751)
                                                                                  at android.os.Handler.dispatchMessage(Handler.java:95)
                                                                                  at android.os.Looper.loop(Looper.java:154)
                                                                                  at android.os.HandlerThread.run(HandlerThread.java:61)

0 个答案:

没有答案