Fixed
Status Update
Comments
il...@google.com <il...@google.com>
il...@google.com <il...@google.com>
wk...@google.com <wk...@google.com> #2
that is weird. might be a studio issue, can you share the output of gradle? (the output from command line)
wk...@google.com <wk...@google.com>
wk...@google.com <wk...@google.com>
ce...@gmail.com <ce...@gmail.com> #3
Here it is, with --info.
Since the module is a mixed Java/Kotlin one, I have tried with both annotationProcessor and kapt.
The result is the same, no indication about the failure.
Since the module is a mixed Java/Kotlin one, I have tried with both annotationProcessor and kapt.
The result is the same, no indication about the failure.
Description
Version used: 1.0.0-alpha01
Minimal project that demonstrates issue:
Using Android Studio 3.2 Canary 15, I use the new project wizard to create an empty project and then to add an Android Library module.
When adding this line:
apply plugin: "androidx.navigation.safeargs"
to the library module's build.gradle, I get this error:
Caused by: org.gradle.api.GradleException: safeargs plugin must be used with android plugin
at androidx.navigation.safeargs.gradle.SafeArgsPlugin.apply(SafeArgsPlugin.kt:36)
at androidx.navigation.safeargs.gradle.SafeArgsPlugin.apply(SafeArgsPlugin.kt:32)
However, I don't get any errors when adding the same line to the app's build.gradle file.