Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BarCode scanner freezing in Android 7.1 Qubic device. #1075

Open
Balakrishna1 opened this issue May 15, 2023 · 0 comments
Open

BarCode scanner freezing in Android 7.1 Qubic device. #1075

Balakrishna1 opened this issue May 15, 2023 · 0 comments

Comments

@Balakrishna1
Copy link

Hi,
I am facing an issue in android 7.1 device, failing to scan the barcode camara freezing after launching the scanner.

Here is the device logs.
Forwarding debugger port 8902
Detecting existing process

am start -a "android.intent.action.MAIN" -n "codes.redth.zxing/crc64a9359164a169d140.Activity1"
Starting: Intent { act=android.intent.action.MAIN cmp=codes.redth.zxing/crc64a9359164a169d140.Activity1 }

[art] Late-enabling -Xcheck:jni
[debug-app-helper] Checking if libmonodroid was unpacked to /data/app/codes.redth.zxing-1/lib/arm/libmonodroid.so
[debug-app-helper] Native libs extracted to /data/app/codes.redth.zxing-1/lib/arm, assuming application/android:extractNativeLibs == true
[debug-app-helper] Setting up for DSO lookup in app data directories
[debug-app-helper] Added filesystem DSO lookup location: /data/app/codes.redth.zxing-1/lib/arm
[debug-app-helper] Using runtime path: /data/app/codes.redth.zxing-1/lib/arm
[debug-app-helper] checking directory: /data/user/0/codes.redth.zxing/files/.__override__/lib
[debug-app-helper] directory does not exist: /data/user/0/codes.redth.zxing/files/.__override__/lib
[debug-app-helper] Checking whether Mono runtime exists at: /data/user/0/codes.redth.zxing/files/.override/libmonosgen-2.0.so
[debug-app-helper] Checking whether Mono runtime exists at: /data/app/codes.redth.zxing-1/lib/arm/libmonosgen-2.0.so
[debug-app-helper] Mono runtime found at: /data/app/codes.redth.zxing-1/lib/arm/libmonosgen-2.0.so
[art] Attempt to remove non-JNI local reference, dumping thread
[monodroid] Creating public update directory: /data/user/0/codes.redth.zxing/files/.__override__
[art] Attempt to remove non-JNI local reference, dumping thread
[monodroid-debug] Trying to initialize the debugger with options: --debugger-agent=transport=dt_socket,loglevel=0,address=127.0.0.1:8902,server=y,embedding=1
[monodroid-gc] GREF GC Threshold: 46080
Loaded assembly: /data/data/codes.redth.zxing/files/.override/ZXingSampleAndroid.dll
Loaded assembly: /data/data/codes.redth.zxing/files/.override/FastAndroidCamera.dll [External]
Loaded assembly: /data/data/codes.redth.zxing/files/.override/Xamarin.AndroidX.Activity.dll [External]
Loaded assembly: /data/data/codes.redth.zxing/files/.override/Xamarin.AndroidX.Annotation.dll [External]
Loaded assembly: /data/data/codes.redth.zxing/files/.override/Xamarin.AndroidX.AppCompat.dll [External]
Loaded assembly: /data/data/codes.redth.zxing/files/.override/Xamarin.AndroidX.AppCompat.Resources.dll [External]
Loaded assembly: /data/data/codes.redth.zxing/files/.override/Xamarin.AndroidX.Arch.Core.Common.dll [External]
Loaded assembly: /data/data/codes.redth.zxing/files/.override/Xamarin.AndroidX.Arch.Core.Runtime.dll [External]
Loaded assembly: /data/data/codes.redth.zxing/files/.override/Xamarin.AndroidX.AsyncLayoutInflater.dll [External]
Loaded assembly: /data/data/codes.redth.zxing/files/.override/Xamarin.AndroidX.Browser.dll [External]
Loaded assembly: /data/data/codes.redth.zxing/files/.override/Xamarin.AndroidX.Collection.dll [External]
Loaded assembly: /data/data/codes.redth.zxing/files/.override/Xamarin.AndroidX.CoordinatorLayout.dll [External]
Loaded assembly: /data/data/codes.redth.zxing/files/.override/Xamarin.AndroidX.Core.dll [External]
Loaded assembly: /data/data/codes.redth.zxing/files/.override/Xamarin.AndroidX.CursorAdapter.dll [External]
Loaded assembly: /data/data/codes.redth.zxing/files/.override/Xamarin.AndroidX.CustomView.dll [External]
Loaded assembly: /data/data/codes.redth.zxing/files/.override/Xamarin.AndroidX.DocumentFile.dll [External]
Loaded assembly: /data/data/codes.redth.zxing/files/.override/Xamarin.AndroidX.DrawerLayout.dll [External]
Loaded assembly: /data/data/codes.redth.zxing/files/.override/Xamarin.AndroidX.Fragment.dll [External]
Loaded assembly: /data/data/codes.redth.zxing/files/.override/Xamarin.AndroidX.Interpolator.dll [External]
Loaded assembly: /data/data/codes.redth.zxing/files/.override/Xamarin.AndroidX.Legacy.Support.Core.UI.dll [External]
Loaded assembly: /data/data/codes.redth.zxing/files/.override/Xamarin.AndroidX.Legacy.Support.Core.Utils.dll [External]
Loaded assembly: /data/data/codes.redth.zxing/files/.override/Xamarin.AndroidX.Lifecycle.Common.dll [External]
Loaded assembly: /data/data/codes.redth.zxing/files/.override/Xamarin.AndroidX.Lifecycle.LiveData.Core.dll [External]
Loaded assembly: /data/data/codes.redth.zxing/files/.override/Xamarin.AndroidX.Lifecycle.Runtime.dll [External]
Loaded assembly: /data/data/codes.redth.zxing/files/.override/Xamarin.AndroidX.Lifecycle.ViewModel.dll [External]
Loaded assembly: /data/data/codes.redth.zxing/files/.override/Xamarin.AndroidX.Loader.dll [External]
Loaded assembly: /data/data/codes.redth.zxing/files/.override/Xamarin.AndroidX.LocalBroadcastManager.dll [External]
Loaded assembly: /data/data/codes.redth.zxing/files/.override/Xamarin.AndroidX.MultiDex.dll [External]
Loaded assembly: /data/data/codes.redth.zxing/files/.override/Xamarin.AndroidX.Print.dll [External]
Loaded assembly: /data/data/codes.redth.zxing/files/.override/Xamarin.AndroidX.SavedState.dll [External]
Loaded assembly: /data/data/codes.redth.zxing/files/.override/Xamarin.AndroidX.SlidingPaneLayout.dll [External]
Loaded assembly: /data/data/codes.redth.zxing/files/.override/Xamarin.AndroidX.SwipeRefreshLayout.dll [External]
Loaded assembly: /data/data/codes.redth.zxing/files/.override/Xamarin.AndroidX.VectorDrawable.Animated.dll [External]
Loaded assembly: /data/data/codes.redth.zxing/files/.override/Xamarin.AndroidX.VectorDrawable.dll [External]
Loaded assembly: /data/data/codes.redth.zxing/files/.override/Xamarin.AndroidX.VersionedParcelable.dll [External]
Loaded assembly: /data/data/codes.redth.zxing/files/.override/Xamarin.AndroidX.ViewPager.dll [External]
Loaded assembly: /data/data/codes.redth.zxing/files/.override/Xamarin.Essentials.dll [External]
Loaded assembly: /data/data/codes.redth.zxing/files/.override/zxing.dll [External]
Loaded assembly: /data/data/codes.redth.zxing/files/.override/ZXingNetMobile.dll [External]
Loaded assembly: /data/data/codes.redth.zxing/files/.override/Mono.Android.dll [External]
Loaded assembly: /data/data/codes.redth.zxing/files/.override/Java.Interop.dll [External]
Loaded assembly: /data/data/codes.redth.zxing/files/.override/System.dll [External]
Loaded assembly: /data/data/codes.redth.zxing/files/.override/Mono.Security.dll [External]
[art] Attempt to remove non-JNI local reference, dumping thread
Loaded assembly: /data/data/codes.redth.zxing/files/.override/System.Core.dll [External]
Loaded assembly: /data/data/codes.redth.zxing/files/.override/Mono.Android.Export.dll [External]
Loaded assembly: /data/data/codes.redth.zxing/files/.override/System.Xml.dll [External]
Loaded assembly: callback_factory [External]
Loaded assembly: /data/data/codes.redth.zxing/files/.override/netstandard.dll [External]
[art] Before Android 4.1, method android.graphics.PorterDuffColorFilter androidx.vectordrawable.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable
[art] Rejecting re-init on previously-failed class java.lang.Class<androidx.core.view.ViewCompat$2>: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/view/View$OnUnhandledKeyEventListener;
[art] at void androidx.core.view.ViewCompat.setBackground(android.view.View, android.graphics.drawable.Drawable) (ViewCompat.java:2559)
[art] at void androidx.appcompat.widget.ActionBarContainer.(android.content.Context, android.util.AttributeSet) (ActionBarContainer.java:63)
[art] at java.lang.Object java.lang.reflect.Constructor.newInstance0!(java.lang.Object[]) (Constructor.java:-2)
[art] at java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[]) (Constructor.java:430)
[art] at android.view.View android.view.LayoutInflater.createView(java.lang.String, java.lang.String, android.util.AttributeSet) (LayoutInflater.java:645)
[art] at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:787)
[art] at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet) (LayoutInflater.java:727)
[art] at void android.view.LayoutInflater.rInflate(org.xmlpull.v1.XmlPullParser, android.view.View, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:858)
[art] at void android.view.LayoutInflater.rInflateChildren(org.xmlpull.v1.XmlPullParser, android.view.View, android.util.AttributeSet, boolean) (LayoutInflater.java:821)
[art] at android.view.View android.view.LayoutInflater.inflate(org.xmlpull.v1.XmlPullParser, android.view.ViewGroup, boolean) (LayoutInflater.java:518)
[art] at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup, boolean) (LayoutInflater.java:426)
[art] at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup) (LayoutInflater.java:377)
[art] at android.view.ViewGroup androidx.appcompat.app.AppCompatDelegateImpl.createSubDecor() (AppCompatDelegateImpl.java:749)
[art] at void androidx.appcompat.app.AppCompatDelegateImpl.ensureSubDecor() (AppCompatDelegateImpl.java:659)
[art] at void androidx.appcompat.app.AppCompatDelegateImpl.setContentView(int) (AppCompatDelegateImpl.java:552)
[art] at void androidx.appcompat.app.AppCompatActivity.setContentView(int) (AppCompatActivity.java:161)
[art] at void crc64a9359164a169d140.Activity1.n_onCreate(android.os.Bundle) (Activity1.java:-2)
[art] at void crc64a9359164a169d140.Activity1.onCreate(android.os.Bundle) (Activity1.java:41)
[art] at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:6706)
[art] at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1118)
[art] at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2618)
[art] at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2726)
[art] at void android.app.ActivityThread.-wrap12(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1)
[art] at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1477)
[art] at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:102)
[art] at void android.os.Looper.loop() (Looper.java:154)
[art] at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6119)
[art] at java.lang.Object java.lang.reflect.Method.invoke!(java.lang.Object, java.lang.Object[]) (Method.java:-2)
[art] at void com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run() (ZygoteInit.java:902)
[art] at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:792)
[art] Caused by: java.lang.ClassNotFoundException: Didn't find class "android.view.View$OnUnhandledKeyEventListener" on path: DexPathList[[zip file "/data/app/codes.redth.zxing-1/base.apk"],nativeLibraryDirectories=[/data/app/codes.redth.zxing-1/lib/arm, /data/app/codes.redth.zxing-1/base.apk!/lib/armeabi-v7a, /system/lib, /vendor/lib]]
[art] at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:56)
[art] at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:380)
[art] at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)
[art] at void androidx.core.view.ViewCompat.setBackground(android.view.View, android.graphics.drawable.Drawable) (ViewCompat.java:2559)
[art] at void androidx.appcompat.widget.ActionBarContainer.(android.content.Context, android.util.AttributeSet) (ActionBarContainer.java:63)
[art] at java.lang.Object java.lang.reflect.Constructor.newInstance0!(java.lang.Object[]) (Constructor.java:-2)
[art] at java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[]) (Constructor.java:430)
[art] at android.view.View android.view.LayoutInflater.createView(java.lang.String, java.lang.String, android.util.AttributeSet) (LayoutInflater.java:645)
[art] at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:787)
[art] at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet) (LayoutInflater.java:727)
[art] at void android.view.LayoutInflater.rInflate(org.xmlpull.v1.XmlPullParser, android.view.View, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:858)
[art] at void android.view.LayoutInflater.rInflateChildren(org.xmlpull.v1.XmlPullParser, android.view.View, android.util.AttributeSet, boolean) (LayoutInflater.java:821)
[art] at android.view.View android.view.LayoutInflater.inflate(org.xmlpull.v1.XmlPullParser, android.view.ViewGroup, boolean) (LayoutInflater.java:518)
[art] at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup, boolean) (LayoutInflater.java:426)
[art] at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup) (LayoutInflater.java:377)
[art] at android.view.ViewGroup androidx.appcompat.app.AppCompatDelegateImpl.createSubDecor() (AppCompatDelegateImpl.java:749)
[art] at void androidx.appcompat.app.AppCompatDelegateImpl.ensureSubDecor() (AppCompatDelegateImpl.java:659)
[art] at void androidx.appcompat.app.AppCompatDelegateImpl.setContentView(int) (AppCompatDelegateImpl.java:552)
[art] at void androidx.appcompat.app.AppCompatActivity.setContentView(int) (AppCompatActivity.java:161)
[art] at void crc64a9359164a169d140.Activity1.n_onCreate(android.os.Bundle) (Activity1.java:-2)
[art] at void crc64a9359164a169d140.Activity1.onCreate(android.os.Bundle) (Activity1.java:41)
[art] at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:6706)
[art] at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1118)
[art] at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2618)
[art] at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2726)
[art] at void android.app.ActivityThread.-wrap12(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1)
[art] at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1477)
[art] at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:102)
[art] at void android.os.Looper.loop() (Looper.java:154)
[art] at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6119)
[art] at java.lang.Object java.lang.reflect.Method.invoke!(java.lang.Object, java.lang.Object[]) (Method.java:-2)
[art] at void com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run() (ZygoteInit.java:902)
[art] at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:792)
[art]
[[Gralloc]] ion device open success! fd = 44
[mali_so] [File] : hardware/rockchip/driver/./src/base/arch/arch_011_udd/base_arch_main.c; [Line] : 204; [Func] : arch_verify_device_file;
[mali_so] arm_release_ver of this mali_so is 'r7p0-00rel0', rk_so_ver is '5@0', built for 3188 Android 7.1 at '18:51:27', on 'Feb 8 2017'.
[OpenGLRenderer] Initialized EGL, version 1.4
[OpenGLRenderer] Swap behavior 1
[ViewConfigCompat] Could not find method getScaledScrollFactor() on ViewConfiguration
Thread started: #2
Thread started: #3
Thread started: #4
Thread started: #5
[Choreographer] Skipped 80 frames! The application may be doing too much work on its main thread.
[ZXing.Net.Mobile] ZXingScannerFragment->OnResume exit
[ZXing.Net.Mobile] Checking Number of cameras...
[ZXing.Net.Mobile] Found 1 cameras...
[ZXing.Net.Mobile] Finding Back camera failed, opening camera 0...
[ZXing.Net.Mobile] Selected Resolution: 800x600
[ZXing.Net.Mobile] Changing Camera Orientation to: 0
[Camera] app passed NULL surface
[ZXing.Net.Mobile] Selected Resolution: 800x600
[ZXing.Net.Mobile] Changing Camera Orientation to: 0
[ZXing.Net.Mobile] Selected Resolution: 800x600
[ZXing.Net.Mobile] Changing Camera Orientation to: 0
[CameraBase] mediaserver's remote binder Camera object died
[Camera] Error 100
[CameraBase] Camera service died!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant