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

前端 未结 2 2136
独厮守ぢ
独厮守ぢ 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:25

    Solution: put in android/gradle/wrapper/gradle-wrapper.properties:

    distributionUrl=https://services.gradle.org/distributions/gradle-5.4.1-all.zip
    

    Follow this link: https://github.com/FirebaseExtended/flutterfire/issues/3287

提交回复
热议问题