-
Notifications
You must be signed in to change notification settings - Fork 130
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
Gradle is not up to recent versions #69
Comments
I upgraded the gradle and tried re running, here is the issues that I face now. java.lang.IllegalAccessError: superclass access check failed: class org.jetbrains.kotlin. kapt3. base. javac. KaptJavaCompiler (in unnamed module @0x579483de) cannot access class com.sun.tools.javac. main. JavaCompiler (in module jdk.compiler) because module jdk.compiler does not export com.sun.tools.javac. main to unnamed module @0x579483de and Internal compiler error. |
Rebuilding the project. (Failed) Invalidating Caches and Restarting (Failed) |
Upgrading dependencies: Kotlin Coroutines (Android): Core KTX: AppCompat: Material Components: ConstraintLayout: JUnit (Test): Android Test JUnit: Espresso Core: removed def room_dependencies (all are same version at 2.6.1) changing kapt "androidx.room:room-compiler:2.6.1" to use ksp "androidx.room:room-compiler:2.6.1" |
remaining errors: 'compileSdkVersion' is deprecated (compileSdkVersion 33 --> 34) (Weak error) |
New error created: Plugin [idid 'com.google.devtools.ksp'] was not found in any of the following sources. replaced: id 'com.google.devtools.ksp' added mavenCentral() Replacing didn't work. Added version of com.g.d.ksp (1.9.0-1.10) added classpath("com.google.devtools.ksp:com.google.devtools.ksp.gradle.plugin:1.5.30-1.0.0") to dependencies dependencies{ //Kotlin Coroutines didn't. work. |
added classpath to wrong build gradle file. after changing it, new error has been created. The request for this plugin could not be satisfied because the plugin is already on the classpath with an unknown version, so compatibility cannot be checked. (I will work on this later, any feedback or help is greatly appriciated) |
I made some updates on the gradle dependencies in this pull request: #68 It might help build with the newer android studios |
thank you so much! it does look like we have the same changes to the gradle! |
yeah, don't use ksp, just stick with kapt for now, I can't recall off the top of my head anymore, but I think there's still some compatibility with kotlin with the java version I think it uses |
When i pulled this repo into my Android Studio, I was warned gradle build was not up to par. I reran the build after upgrading it to 8.5.
The text was updated successfully, but these errors were encountered: