|
小白求助,camera打不开了
发表于 2016-7-25 10:41:54
浏览:8559
|
回复:5
打印
只看该作者
[复制链接]
楼主
用的是RK3288的开发板,本来设备都是能用的,用的官方Android5.1_20151231镜像,然后从百度网盘下载的源码,单独编译了一下hardware/rockchip/camera/CameraHal这个模块出的camera.rk30board.so库,用adb推送到/system/lib/hw目录下,重启之后就打不开相机了,但是同样的文件用reload板就可以用,源码和编译选项也没有区分这两个板子的地方,请问这个应该怎么解决?附件是logcat,错误应该这几行:D/CAM_MemoryManagerImpl( 1513): Max native memory: 358 MB
V/CAM_QuickActivity( 1513): START onCreate: Activity = com.android.camera.CameraActivity@5bd705
V/CAM_QuickActivity( 1513): Intent Action = android.intent.action.MAIN
I/CameraManagerGlobal( 1513): getCameraService: Reconnecting to camera service
E/CameraService( 169): getCameraVendorTagDescriptor: camera hardware module doesn't exist
E/CameraMetadata-JNI( 1513): CameraMetadata_setupGlobalVendorTagDescriptor: Failed to setup vendor tag descriptors, received error No such device (-19)
W/CameraManagerGlobal( 1513): Failed to set up vendor tags: The camera device is removable and has been disconnected from the Android device, or the camera service has shut down the connection due to a higher-priority access request for the camera device.
E/CameraService( 169): no camera found before! check again...
W/linker ( 169): librkswscale.so has text relocations. This is wasting memory and prevents security hardening. Please fix.
E/HAL ( 169): load: module=/system/lib/hw/camera.rk30board.so
E/HAL ( 169): dlopen failed: cannot locate symbol "_ZN12CamEngineItf14checkHdmiInResEP17rk_cam_total_info" referenced by "camera.rk30board.so"...
E/CameraService( 169): Could not load camera HAL module
E/CameraService( 169): no camera found before! check again...
W/linker ( 169): librkswscale.so has text relocations. This is wasting memory and prevents security hardening. Please fix.
E/HAL ( 169): load: module=/system/lib/hw/camera.rk30board.so
E/HAL ( 169): dlopen failed: cannot locate symbol "_ZN12CamEngineItf14checkHdmiInResEP17rk_cam_total_info" referenced by "camera.rk30board.so"...
E/CameraService( 169): Could not load camera HAL module
麻烦各位大侠帮我看看,感激不尽!
|
|