Closed akashraghav closed 3 years ago
hey @akashraghav, do you have a little more info about your project?
For instance, is it a java code base and have you tried this? https://github.com/DanielMartinus/Konfetti#java-project
Also, is it a new and small or a large codebase?
Hey @DanielMartinus, It's a new blank project with kotlin supported. I also tried running the java code but got the same result.
Here are the dependencies in build.gradle:
implementation fileTree(dir: "libs", include: ["*.jar"])
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.3.72'
implementation 'androidx.core:core-ktx:1.3.2'
implementation 'androidx.appcompat:appcompat:1.2.0'
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
implementation 'nl.dionsegijn:konfetti:1.2.6-rc1'
Hey @DanielMartinus, I looked into the closed issues, found duplicate, should've looked there in first place. Issue got fixed by changing 1.3.72
to 1.4.10
. Seems to be some reliability on latest kotlin version. You should add this to the wiki for future users. Thank you.
I'm facing NoSuchMethodError, with basic implementation, I've tried, adding keep rules in proguard and changing gradle version also.
Exception log :