ftylitak/qzxing

QZxinglive example problem with android

shariatraad opened this issue · 0 comments

I was able to successfully deploy the QZxinglive example on iOS but when I want to deploy it on Android I only get a white screen. I'm using Qt 5.14 and have set min SDK to 24 and Target to 29. Any ideas what could be the problem? Below I have attached the application output:

E Zygote : isWhitelistProcess - Process is Whitelisted
E libpersona: scanKnoxPersonas
E libpersona: Couldn't open the File - /data/system/users/0/personalist.xml - No such file or directory
W SELinux : SELinux selinux_android_compute_policy_index : Policy Index[2], Con:u:r:zygote:s0 RAM:SEPF_SM-G935K_8.0.0_0018, [-1 -1 -1 -1 0 1]
I SELinux : SELinux: seapp_context_lookup: seinfo=untrusted, level=s0:c512,c768, pkgname=org.ftylitak.qzxing
I zygote : Late-enabling -Xcheck:jni
D ActivityThread: Added TimaKeyStore provider
I zygote : no shared libraies, dex_files: 1
W ResourceType: Invalid package identifier when getting bag for resource number 0x00000000
E Qt : Can't create main activity
E Qt : android.content.res.Resources$NotFoundException: String array resource ID #0x0
E Qt : at android.content.res.Resources.getStringArray(Resources.java:591)
E Qt : at org.qtproject.qt5.android.bindings.QtLoader.startApp(QtLoader.java:423)
E Qt : at org.qtproject.qt5.android.bindings.QtActivityLoader.onCreate(QtActivityLoader.java:166)
E Qt : at org.qtproject.qt5.android.bindings.QtActivity.onCreateHook(QtActivity.java:266)
E Qt : at org.qtproject.qt5.android.bindings.QtActivity.onCreate(QtActivity.java:273)
E Qt : at android.app.Activity.performCreate(Activity.java:7183)
E Qt : at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1220)
E Qt : at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2910)
E Qt : at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3032)
E Qt : at android.app.ActivityThread.-wrap11(Unknown Source:0)
E Qt : at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1696)
E Qt : at android.os.Handler.dispatchMessage(Handler.java:105)
E Qt : at android.os.Looper.loop(Looper.java:164)
E Qt : at android.app.ActivityThread.main(ActivityThread.java:6944)
E Qt : at java.lang.reflect.Method.invoke(Native Method)
E Qt : at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:327)
E Qt : at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1374)
D OpenGLRenderer: HWUI GL Pipeline
D ViewRootImpl@ebee4e1[QZXingLiveActivity]: setView = DecorView@80a3206[QZXingLiveActivity] TM=true MM=false
D ViewRootImpl@ebee4e1[QZXingLiveActivity]: dispatchAttachedToWindow
V Surface : sf_framedrop debug : 0x4f4c, game : false, logging : 0
D ViewRootImpl@ebee4e1[QZXingLiveActivity]: Relayout returned: old=[0,0][0,0] new=[0,0][1440,2560] result=0x7 surface={valid=true 3791106048} changed=true
I OpenGLRenderer: Initialized EGL, version 1.4
D OpenGLRenderer: Swap behavior 2
D libGLESv1: STS_GLApi : DTS, ODTC are not allowed for Package : org.ftylitak.qzxing
D mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, egl_color_buffer_format *, EGLBoolean) returns 0x3000, [1440x2560]-format:1
D OpenGLRenderer: eglCreateWindowSurface = 0xe809f580
D ViewRootImpl@ebee4e1[QZXingLiveActivity]: MSG_RESIZED_REPORT: frame=Rect(0, 0 - 1440, 2560) ci=Rect(0, 84 - 0, 0) vi=Rect(0, 84 - 0, 0) or=1
D ViewRootImpl@ebee4e1[QZXingLiveActivity]: MSG_WINDOW_FOCUS_CHANGED 1
V InputMethodManager: Starting input: tba=android.view.inputmethod.EditorInfo@1074524 nm : org.ftylitak.qzxing ic=null
I InputMethodManager: startInputInner - mService.startInputOrWindowGainedFocus
V InputMethodManager: Starting input: tba=android.view.inputmethod.EditorInfo@8371a42 nm : org.ftylitak.qzxing ic=null