What can break an android build without code changes?

前端 未结 2 1099
青春惊慌失措
青春惊慌失措 2020-12-12 03:00

I am working on a react-native app that uses react-native-firebase. I\'ve setup a CI build on travis with the aim to have reproducible builds, and it has sudden

相关标签:
2条回答
  • 2020-12-12 03:16

    The root cause is related migration to Androidx, google play service updated to androidX

    If you are using real-native-info, please upgrade. It will solve your problem with 2.1.2

    See here apply link

    Note: Upgrading com.google.android.gms to 17.0.0 will cause many problems.

    0 讨论(0)
  • 2020-12-12 03:42

    For reference, this comment on github provides the answer to my question:

    A dependency (react-native-device-info in my case) was using the latest version of one of its dependencies instead of a fixed/pinned version. When a new release of google services was released, it caused the build to pull in the new version for device-info, thereby causing the conflict with other dependencies that correctly pin the version they need.

    0 讨论(0)
提交回复
热议问题