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

Crash due to missing List::reversed method #6

Closed
FliegendeWurst opened this issue Dec 8, 2024 · 2 comments
Closed

Crash due to missing List::reversed method #6

FliegendeWurst opened this issue Dec 8, 2024 · 2 comments
Labels
bug Something isn't working fixed-next-release Fixed in next version
Milestone

Comments

@FliegendeWurst
Copy link
Owner

As reported by @MatejPetrik007 in #3 (comment)

java.lang.NoSuchMethodError: No interface method reversed()Ljava/util/List; in class Ljava/util/List; or its super classes (declaration of 'java.util.List' appears in /apex/com.android.art/javalib/core-oj.jar)
       at eu.fliegendewurst.triliumdroid.MainActivity.navigateTo(MainActivity.kt:507)
       at eu.fliegendewurst.triliumdroid.MainActivity.navigateTo$default(MainActivity.kt:445)
       at eu.fliegendewurst.triliumdroid.MainActivity.showInitialNote(MainActivity.kt:262)
       at eu.fliegendewurst.triliumdroid.MainActivity.access$showInitialNote(MainActivity.kt:59)
       at eu.fliegendewurst.triliumdroid.MainActivity$startSync$1$3.invoke$lambda$1(MainActivity.kt:252)
       at eu.fliegendewurst.triliumdroid.MainActivity$startSync$1$3.$r8$lambda$OETiGqtLqASwWJpDHZ928dhcpd0(Unknown Source:0)
       at eu.fliegendewurst.triliumdroid.MainActivity$startSync$1$3$$ExternalSyntheticLambda1.run(D8$$SyntheticClass:0)
       at android.os.Handler.handleCallback(Handler.java:942)
       at android.os.Handler.dispatchMessage(Handler.java:99)
       at android.os.Looper.loopOnce(Looper.java:201)
       at android.os.Looper.loop(Looper.java:288)
       at android.app.ActivityThread.main(ActivityThread.java:7924)
       at java.lang.reflect.Method.invoke(Native Method)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)
@FliegendeWurst FliegendeWurst added the bug Something isn't working label Dec 8, 2024
@FliegendeWurst
Copy link
Owner Author

It appears the issue is due to using compile SDK 35: https://issuetracker.google.com/issues/350432371

Will be fixed in next release

@FliegendeWurst FliegendeWurst added this to the Alpha 1 milestone Dec 8, 2024
@FliegendeWurst FliegendeWurst added the fixed-next-release Fixed in next version label Dec 9, 2024
FliegendeWurst added a commit that referenced this issue Dec 9, 2024
@MatejPetrik007
Copy link

confirmed that it is fixed - its working on the One Plus 5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fixed-next-release Fixed in next version
Projects
None yet
Development

No branches or pull requests

2 participants