Plugin with id 'androidx.navigation.safeargs' not found

      To add androidx.navigation.safeargs plugin follow below step's

    1. classpath "android.arch.navigation:navigation-safe-args-gradle-plugin:1.0.0"

      (latest) Add above to your Project Gradel file inside dependency block

    2. Then add apply plugin: 'androidx.navigation.safeargs' to your app/Module gradle file

相关问题:

Some problems were found with the configuration of task ':app:generateSafeArgsDebug' (type 'ArgumentsGenerationTask'). After upgrading gradle to 7.0

 

Ask Question

I just came across this issue too when upgrading to Gradle 7. Managed to fix it by switching my old navigation safe args plugin to the AndroidX version - Not sure how I missed that during my AndroidX refactor

 

// From

classpath("android.arch.navigation:navigation-safe-args-gradle-plugin:1.0.0")

 

// To

classpath("androidx.navigation:navigation-safe-args-gradle-plugin:2.3.5")

Some problems were found with the configuration of task ':app:generateSafeArgsDebug' (type 'ArgumentsGenerationTask'). After upgrading gradle to 7.0

Ask Question

 

 

 
posted @ 2021-05-31 16:31  y=x^2  阅读(860)  评论(0)    收藏  举报