ERROR: Could not find method platform() for arguments - React Native - Firebase

前端 未结 2 2138
独厮守ぢ
独厮守ぢ 2021-02-13 22:42

Has anyone faced this issue following the official documentation for react-native-firebase?

ERROR: Could not find method platform() for arguments [c         


        
2条回答
  •  说谎
    说谎 (楼主)
    2021-02-13 23:36

    So, I think you're using Gradle 4.x. I had the same issue. Upgrading to 5.0 solved it: https://docs.gradle.org/current/userguide/upgrading_version_4.html

提交回复
热议问题