I recently upgraded my Android project's Room version from 2.3.0-alpha02 to 2.4.3 and now I'm getting this error when I compile. I don't have any code to share because nowhere in my code is there a reference for hasAnyOf or XMethodElement.
java.lang.NoSuchMethodError: 'boolean androidx.room.compiler.processing.XMethodElement.hasAnyOf(kotlin.reflect.KClass[])'
The only reference I can find for hasAnyOf is in a comment here https://issuetracker.google.com/issues/160322705 where it says:
Rename hasAnyOf() to hasAnyAnnotation()
settings.gradle.kts
build.gradle.kts
from Error when upgrading Room to 2.4.3 java.lang.NoSuchMethodError: 'XMethodElement.hasAnyOf'



No comments:
Post a Comment