其他分享
首页 > 其他分享> > Android工程一些编译报错的解决方案

Android工程一些编译报错的解决方案

作者:互联网

  1. 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.
    是因为navigation-safe-args-gradle-plugin插件版本太低引起,修改下版本号即可,例如
  classpath "androidx.navigation:navigation-safe-args-gradle-plugin:1.0.0"

修改为

classpath "androidx.navigation:navigation-safe-args-gradle-plugin:2.3.0"

标签:safe,androidx,args,gradle,编译,报错,Android,navigation,plugin
来源: https://blog.csdn.net/wudexiaoade2008/article/details/122022385