androidx.navigation.safeargs‘] was not found in any of the following sources:

Posted 安果移不动

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了androidx.navigation.safeargs‘] was not found in any of the following sources:相关的知识,希望对你有一定的参考价值。

新版的androidStudio 

项目级别的build.gradle 最上面添加这句话

buildscript 
    dependencies 
        classpath("androidx.navigation:navigation-safe-args-gradle-plugin:2.4.2")
    

 即可

以上是关于androidx.navigation.safeargs‘] was not found in any of the following sources:的主要内容,如果未能解决你的问题,请参考以下文章