Caused by: java.lang.NullPointerException: Attempt to invoke interface method 'android.view.TextureView com.baidu.aip.face.PreviewView.getTextureView()' on a null object reference
at com.baidu.aip.face.camera.Camera1Control.setPreviewView(Camera1Control.java:331)
at com.baidu.aip.face.CameraImageSource.setPreviewView(CameraImageSource.java:128)
at com.yundao.face.DetectActivity.initView(DetectActivity.java:100)
at com.yundao.face.DetectActivity.onCreate(DetectActivity.java:69)
at android.app.Activity.performCreate(Activity.java:6083)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1115)
加载人脸识别sdk后,可以用,最后就成这样了,报sdk内部为空
收藏
点赞
0
个赞
请登录后评论
TOP
切换版块
哪里报空指针异常了,请问是怎么操作的,哪一步出现的问题