React-native-firebase: FAILURE: Build failed with an exception.

Created on 15 May 2019  路  5Comments  路  Source: invertase/react-native-firebase

FAILURE: Build failed with an exception.
android.enableAapt2

This property has no effect, AAPT2 is now always used.
* Where:

android.useDeprecatedNdk
Build file '***/node_modules/@react-native-firebase/analytics/android/build.gradle' line: 58
NdkCompile is no longer supported


* What went wrong:

A problem occurred evaluating project ':@react-native-firebase_analytics'.
> Project with path ':@react-native-firebase/app' could not be found in project ':@react-native-firebase_analytics'.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 0s

@react-native-firebase/app is installed and linked.

Most helpful comment

@kasterlod I did install /app version.

FYI - also the same issue : https://github.com/invertase/react-native-firebase/issues/2149

All 5 comments

Near as I can tell you have skipped the entire issue template.

api project(':@react-native-firebase/app') -> api project(':@react-native-firebase_app') is working for me

in @react-native-firebase/analytics/android/build.gradle:58

api project(':@react-native-firebase/app') -> api project(':@react-native-firebase_app') is working for me

in @react-native-firebase/analytics/android/build.gradle:58

This throws the error:

Unable to find a matching configuration of the project :@react-native-firebase_app: None of the consumable configurations have attributes.

That's weird. Do you have :@react-native-firebase_app integrated into your project?

@kasterlod I did install /app version.

FYI - also the same issue : https://github.com/invertase/react-native-firebase/issues/2149

Was this page helpful?
0 / 5 - 0 ratings