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"
上一篇:uniapp ios 底部安全距离设置


下一篇:UNCTF2021-easyserialize