1.反射
2.遇到的错误:
问题
Kotlin reflection implementation is not found at runtime. Make sure you have kotlin-reflect.jar in the classpath
解决:
The problem is a missing dependency in build.gradle.
Just add the following to fix.
dependencies {
…
implementation “org.jetbrains.kotlin:kotlin-reflect”
…
}
问题:
解决
androidTestImplementation ‘org.mockito:mockito-inline3.12.4’