Ravin Jain
09/27/2021, 9:43 PMaccompanist
library and hiltAggregateDepsDebug
* What went wrong:
Execution failed for task ':app:hiltAggregateDepsDebug'.
> Could not resolve all files for configuration ':app:hiltCompileOnlyDebug'.
> Could not resolve io.github.aakira:napier:1.4.1.
Required by:
project :app > com.google.accompanist:accompanist-permissions:0.18.0
project :app > com.google.accompanist:accompanist-pager:0.18.0
> The consumer was configured to find attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'debug'. However we cannot choose between the following variants of io.github.aakira:napier:1.4.1:
- commonMainMetadataElements-published
- debugApiElements-published
- debugRuntimeElements-published
- iosArm64ApiElements-published
- iosArm64MetadataElements-published
- iosX64ApiElements-published
- iosX64MetadataElements-published
- jsApiElements-published
- jsRuntimeElements-published
- jvmApiElements-published
- jvmRuntimeElements-published
- metadataApiElements-published
allan.conda
09/29/2021, 1:18 PMhilt {
enableAggregatingTask = true
}
Ravin Jain
10/02/2021, 6:43 PMenableExperimentalClasspathAggregation = true
and it works fine