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

 

 

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM