React-native-firebase: Can't build error: cannot find symbol

Created on 10 Sep 2018  路  3Comments  路  Source: invertase/react-native-firebase

Issue

I am not able to build in android, and have been stuck on a loop. I am getting this error

Task :react-native-firebase:compileDebugJavaWithJavac FAILED

/path-to-project/node_modules/react-native-firebase/android/src/main/java/io/invertase/firebase/invites/RNFirebaseInvites.java:169: error: cannot find symbol
        mPromise.resolve(Arguments.fromList(Arrays.asList(ids)));
                                  ^
  symbol:   method fromList(List<String>)
  location: class Arguments
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error


FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':react-native-firebase:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

this is my android/build.gradle

this is my app/build.gradle

Environment

  1. Application Target Platform:

Android

  1. Development Operating System:

macOS High Sierra

  1. Build Tools:

Java 8,

  1. React Native version:

0.47.1

  1. React Native Firebase Version:

4.3.8

  1. Firebase Module:

NA

  1. Are you using typescript?

NO

All 3 comments

ok problem is that React Native version is not supported

which version are you using now @damathryx ?
I had the same problem and my environment are the same with yours

I have the same problem @damathryx. Could you elaborate on what you did?

Was this page helpful?
0 / 5 - 0 ratings