生成的输出文件 “buildConfig.java” 在Android Studio中出现了空布尔错误

huangapple 未分类评论63阅读模式
英文:

Build output file "buildConfig.java" has null boolean error in Android studio

问题

把 Lawnchair-V1 分叉到我的 GitHub 存储库,通过“从版本控制获取”方式导入到我的 Android Studio。在导入后,我遇到了一些错误,所以我更改了 Kotlin 版本并将 kotlin-stdlib-jre7 更改为 kotlin-stdlib-jdk7,从而解决了错误 Could not initialize class org.jetbrains.kotlin.gradle.internal.KotlinSourceSetProviderImplKt

之后,当我运行应用程序时,出现了两个错误:

public static final boolean TRAVIS = null;

public static final boolean TAGGED_BUILD = null;

在生成的 BuildConfig.java 文件中。

我知道 Build.gradle(:app) 存在问题,但是我无法找到错误。如果可以的话,请帮我查找一下。

详细的错误信息可以在此链接中找到:https://gist.github.com/Sreejithns2002/f22b6ee3aef3568bd1af45502af1464b

英文:

I fork Lawnchair-V1 to my GitHub repo opened via "get if from version control" to my android studio. After I got some error so I changed Kotilin version and kotlin-stdlib-jre7 to kotlin-stdlib-jdk7 which solved the error Could not initialize class org.jetbrains.kotlin.gradle.internal.KotlinSourceSetProviderImplKt

After that, when I run the application I got 2 error showing

public static final boolean TRAVIS = null;

public static final boolean TAGGED_BUILD = null;

In the BuildConfig.java generated file
I know there is something wrong with Build.gradle(:app)
But I can't find the error
if you can please help me
https://gist.github.com/Sreejithns2002/f22b6ee3aef3568bd1af45502af1464b

huangapple
  • 本文由 发表于 2020年7月24日 19:02:45
  • 转载请务必保留本文链接:https://java.coder-hub.com/63072268.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定