java lang Null Pointerexception 更新后 Google 服务

java lang Null Pointerexception After update Google Service

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......:)