Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to add my own AndroidInstrumentation extension. I've defined the class like the definition below:
`@AutoService(AndroidInstrumentation::class)
class AndroidLogInstrumentation : AndroidInstrumentation {
override val name: String
get() = "android-log"
}
The problem is, my
installmethod gets never called. If I query the instumentations like:
ServiceLoader.load(AndroidInstrumentation::class.java), only Instrumentation from the lib are returned, not my own extension in the list. I'm not firm with the
auto-service-annotations` may be I have missed anything to set up.I just added the dependency of implementation ("com.google.auto.service:auto-service-annotations:1.1.1") to my module with the definition above.
Thank you for your support.
Beta Was this translation helpful? Give feedback.
All reactions