Caused by: org.gradle.api.internal.provider.AbstractProperty$PropertyQueryException: Failed to calculate the value of task ':lib_common:compileDebugJavaWithJavac' property 'options.generatedSourceOutputDirectory'.
原因:根目录中build.gradle中的classpath 版本号与gradle-wrapper.properties中的distributionUrl版本号不对应
classpath "com.android.tools.build:gradle:3.5.3"
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip
解决办法:
将gradle-wrapper.properties中的distributionUrl版本号改为6.1.1-all.zip