Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.3.0 Beta2
-
None
-
android 31 build tools
minimum abi 23
-
-
34bdc50c8a (qt/qtmultimedia/dev) 84122f1b09 (qt/qtmultimedia/6.3)
-
2022wk08FOAndroid&Automotive
Description
Hello,
The camera raise exception on android :
With declarative-camera or with a minimal example : Quick empty project, update main.qml like below and add Qt:Multimedia package in CMakeLists.txt (Idem with qmake and .pro file) :
import QtQuick import QtMultimedia Window { visible: true Camera { id: camera } CaptureSession { id: captureSession camera: camera videoOutput: videoOutput } VideoOutput { id: videoOutput anchors.fill: parent } }
This works well on IOS but on android, there are error and a white screen :
E libc : Access denied finding property "camera.hal1.packagelist" I FeatureParser: can't find capricorn.xml in assets/device_features/,it may be in /system/etc/device_features E libc : Access denied finding property "camera.hal1.packagelist" E libc : Access denied finding property "camera.hal1.packagelist" W System.err: java.lang.RuntimeException: setParameters failed W System.err: at android.hardware.Camera.native_setParameters(Native Method) W System.err: at android.hardware.Camera.setParameters(Camera.java:2098) W System.err: java.lang.RuntimeException: setParameters failed W System.err: at android.hardware.Camera.native_setParameters(Native Method) W System.err: at android.hardware.Camera.setParameters(Camera.java:2098)
Attachments
Issue Links
- is duplicated by
-
QTBUG-100773 Android Multimedia arm64v8a target Huawei P40 Lite Android 10 QML Recorder example wont work
- Closed