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

java.lang.NoSuchMethodError: No interface method sort #42

Open
LNyears opened this issue Jan 4, 2021 · 2 comments
Open

java.lang.NoSuchMethodError: No interface method sort #42

LNyears opened this issue Jan 4, 2021 · 2 comments

Comments

@LNyears
Copy link

LNyears commented Jan 4, 2021

r_scan: ^0.1.5
android: 6.0
vivo
扫码后报错导致应用奔溃
E/AndroidRuntime(31092): java.lang.NoSuchMethodError: No interface method sort(Ljava/util/Comparator;)V in class Ljava/util/List; or its super classes (declaration of 'java.util.List' appears in /system/framework/core-libart.jar)

@LNyears
Copy link
Author

LNyears commented Jan 4, 2021

E/AndroidRuntime( 7330): java.lang.NoSuchMethodError: No interface method sort(Ljava/util/Comparator;)V in class Ljava/util/List; or its super classes (declaration of 'java.util.List' appears in /system/framework/core-libart.jar)
E/AndroidRuntime( 7330): at com.google.zxing.qrcode.detector.FinderPatternFinder.selectBestPatterns(FinderPatternFinder.java:616)
E/AndroidRuntime( 7330): at com.google.zxing.qrcode.detector.FinderPatternFinder.find(FinderPatternFinder.java:164)
E/AndroidRuntime( 7330): at com.google.zxing.qrcode.detector.Detector.detect(Detector.java:81)
E/AndroidRuntime( 7330): at com.google.zxing.qrcode.QRCodeReader.decode(QRCodeReader.java:77)
E/AndroidRuntime( 7330): at com.google.zxing.MultiFormatReader.decodeInternal(MultiFormatReader.java:173)
E/AndroidRuntime( 7330): at com.google.zxing.MultiFormatReader.decode(MultiFormatReader.java:57)
E/AndroidRuntime( 7330): at com.rhyme.r_scan.RScanCamera.RScanCamera$3$1.run(RScanCamera.java:401)
E/AndroidRuntime( 7330): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
E/AndroidRuntime( 7330): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
E/AndroidRuntime( 7330): at java.lang.Thread.run(Thread.java:818)
I/BufferQueueProducer( 7330): SurfaceTexture-1-7330-1 queueBuffer: slot 7 is dropped, handle=0x7f86de6660

@IonVillarreal
Copy link

Hi, I have the same problem in Android 5, it seems that method works from api 24

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

2 participants