Gradle sync failed: Cause: com.android.utils.StringHelper.appendCapitalized(Ljava/lang/StringBuilder;Ljava/lang/String;)V

huangapple go评论104阅读模式
英文:

Gradle sync failed: Cause: com.android.utils.StringHelper.appendCapitalized(Ljava/lang/StringBuilder;Ljava/lang/String;)V

问题

我在代码库中没有进行任何操作,但我对下面的错误感到很惊讶。

我已经尝试升级或降级Gradle包装器和Gradle构建工具。

我正在使用Gradle构建工具v3.2.1,Gradle包装器为4.6-all.zip。

注意:其他项目正常运行,我甚至尝试删除了整个代码并克隆了一个新的。

有人可以帮帮我吗?

Gradle sync failed: Cause: com.android.utils.StringHelper.appendCapitalized(Ljava/lang/StringBuilder;Ljava/lang/String;)V

英文:

I have done nothing with the codebase, and I'm surprised to see the below error.

And I have tried upgrading or downgrading the Gradle wrapper and Gradle build tools.

I'm using Gradle build tools v3.2.1 with Gradle wrapper4.6-all.zip.

Note: Other projects are working fine and even I tried deleted the complete code and cloned a fresh one

Can anyone please help me

Gradle sync failed: Cause: com.android.utils.StringHelper.appendCapitalized(Ljava/lang/StringBuilder;Ljava/lang/String;)V

答案1

得分: 1

update your gradle file.

classpath 'com.android.tools.build:gradle:3.5.1'
classpath 'com.google.gms:google-services:4.2.0'

英文:

update your gradle file.

classpath 'com.android.tools.build:gradle:3.5.1'
classpath 'com.google.gms:google-services:4.2.0'

huangapple
  • 本文由 发表于 2020年4月8日 10:19:12
  • 转载请务必保留本文链接:https://go.coder-hub.com/61092352.html
匿名

发表评论

匿名网友

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

确定