Error is:
Some problems were found with the configuration of task ':app:generateSafeArgsDebug' (type 'ArgumentsGenerationTask').
Type 'androidx.navigation.safeargs.gradle.ArgumentsGenerationTask' property 'applicationId' is missing an input or output annotation.
In the gradle file, replacing
classpath("android.arch.navigation:navigation-safe-args-gradle-plugin:1.0.0")
with
classpath("androidx.navigation:navigation-safe-args-gradle-plugin:2.3.5")
Error is: Some problems were found with the configuration of task ':app:generateSafeArgsDebug' (type 'ArgumentsGenerationTask'). Type 'androidx.navigation.safeargs.gradle.ArgumentsGenerationTask' property 'applicationId' is missing an input or output annotation.
In the gradle file, replacing classpath("android.arch.navigation:navigation-safe-args-gradle-plugin:1.0.0") with classpath("androidx.navigation:navigation-safe-args-gradle-plugin:2.3.5")
fixes it.