gpt4 book ai didi

java lang Nullpointerexception 更新谷歌服务后

转载 作者:行者123 更新时间:2023-11-29 23:19:43 25 4
gpt4 key购买 nike

When I added Library in my Project And Library has a Google service

  1. 我的库中的旧插件版本是 Google 服务的 4.1.0
  2. 验证 gradle 可以自行配置,项目构建
  3. 将插件版本设置为 Google 服务的 4.2.0
  4. 唯一可见的消息是 Cause: java.lang.NullPointerException
  5. Gradle 版本是 3.3.1

请告诉我在这种情况下我该怎么办?

LogCat

Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.

Use '--warning-mode all' to show the individual deprecation warnings.

See https://docs.gradle.org/4.10.1/userguide/command_line_interface.html#sec:command_line_warningsCONFIGURE FAILED in 11s

ERROR: Cause: java.lang.NullPointerException

最佳答案

如果你想摆脱这个错误

so please backward of your google service version from 4.2.0 to 4.1.0 this is jugad not a solution

Error is gone......:)

关于java lang Nullpointerexception 更新谷歌服务后,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54570274/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com