has anyone encountered `cannot access class <cl...
# multiplatform
g
has anyone encountered
cannot access class <class-name>. check your module or classpath for missing or conflicting dependencies
in Android Studio, but when running, it’s fine and tests are also running?
a
Never had this issue. Try from the file menu to “Invalidate Caches and Restart”
m
Looks like if the module with the missing class is not included on settings.gradle or in the build.gradle of the client module
g
It is in settings.gradle and in the build.gradle. Everything works when you run the app and the tests. It's just the IDE
a
g
Can this error be supressed for the mean time?
a
If this is indeed the problem that you're experiencing in your project, then the only way to fix it is to restructure the project, so that the libraries won't depend on project sources. There is no other known workaround at the moment.
g
It’s the sample project inside the library that caused this issue. I guess I’ll just get the dependencies from mavenLocal