Unable find class JsonApiX in instrumental test
alireza-milani opened this issue · 1 comments
alireza-milani commented
Hi there again.
I create a android test class and use @HiltAndroidTest to injecting dependencies into this test. but when I run android test, this error is shown
Execution failed for task ':sample:hiltJavaCompileDebugAndroidTest'.
java.lang.NoClassDefFoundError: com/infinum/jsonapix/annotations/JsonApiX
If this problem has a solution, i appreciate say me about that
stjepanbanek commented
You need to add the core dependency as a test implementation.
testImplementation("com.infinum.jsonapix:core:1.0.0-beta01")