Open allaudin opened 4 years ago
@allaudin looks like this is related to https://github.com/google/dagger/issues/1991
Can you add the full error for the cannot find symbol error?
symbol: class ISystemDevice
location: class BjDevice/com/sample/bluetooth/SystemDevice.java:485: error: cannot find symbol
ISystemDevice internalDevice, @org.jetbrains.annotations.NotNull()
This is the sample error message we get where ISystemDevice
comes from our Sdk Addon
.
We are using a custom Android SDK-Addon for developing our app. Including hilt gradle plugin resulted in a strange issue where classes from our sdk can no longer be found when referenced from hilt generated code. Running
gradlew build
task ends with cannot find symbol error (although all referenced classes from code are available insdk-addon
)However, setting a standard compileSdkVersion and providing our sdk classes at
compile time
works fine.6.2.1
2.28-alpha
3.4.0