React-native-firebase: libs file or directory not found (Android)

Created on 1 Aug 2017  路  4Comments  路  Source: invertase/react-native-firebase

Hello this error occurs after integrate this module,

In console cd android && ./gradlew installDebug --info

Parsing the SDK, no caching allowed
file or directory '/Users/dantecervantes/Documents/react-native/EM/CHM/club-house-now-mobile/node_modules/react-native-firebase/android/libs', not found
file or directory '/Users/dantecervantes/Documents/react-native/EM/CHM/club-house-now-mobile/node_modules/react-native-firebase/android/libs', not found
file or directory '/Users/dantecervantes/Documents/react-native/EM/CHM/club-house-now-mobile/node_modules/react-native-firebase/android/libs', not found
file or directory '/Users/dantecervantes/Documents/react-native/EM/CHM/club-house-now-mobile/node_modules/react-native-firebase/android/libs', not found
Using incremental javac compilation.
file or directory '/Users/dantecervantes/Documents/react-native/EM/CHM/club-house-now-mobile/node_modules/react-native-firebase/android/libs', not found
file or directory '/Users/dantecervantes/Documents/react-native/EM/CHM/club-house-now-mobile/node_modules/react-native-firebase/android/libs', not found
Not using incremental javac compilation.
Using incremental javac compilation.
file or directory '/Users/dantecervantes/Documents/react-native/EM/CHM/club-house-now-mobile/node_modules/react-native-firebase/android/libs', not found
file or directory '/Users/dantecervantes/Documents/react-native/EM/CHM/club-house-now-mobile/node_modules/react-native-firebase/android/libs', not found
Not using incremental javac compilation.
file or directory '/Users/dantecervantes/Documents/react-native/EM/CHM/club-house-now-mobile/node_modules/react-native-firebase/android/libs', not found
file or directory '/Users/dantecervantes/Documents/react-native/EM/CHM/club-house-now-mobile/node_modules/react-native-firebase/android/libs', not found
Not using incremental javac compilation.

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':app'.
> Could not resolve all dependencies for configuration ':app:_debugApk'.
   > Configuration with name 'default' not found.

* Try:
Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output.

BUILD FAILED

Environment

  1. Target Platform : Android
  2. Development Operating System : macOS Sierra
  3. Build tools : Android Studio 2.3.2
  4. React Native version : 0.43.2
  5. RNFirebase Version : ^2.0.5

Any ideas?

Waiting for User Response

Most helpful comment

Same issue here!

Environment:
  OS: macOS Sierra 10.12.6
  Node: 6.11.1
  Yarn: Not Found
  npm: 3.10.10
  Watchman: 4.9.0
  Xcode: Xcode 9.2 Build version 9C40b
  Android Studio: 3.0 AI-171.4443003

Packages: (wanted => installed)
  react: ^16.3.0-alpha.1 => 16.3.0-alpha.1
  react-native: ^0.55.2 => 0.55.2

All 4 comments

Whats in your settings.gradle? Strange how it looking in android/libs!

Closing, please provide additional feedback requested and we can re-open.

Hi this issue is happening to me too.
settings.gradle

rootProject.name = 'app'
include ':react-native-firebase'
project(':react-native-firebase').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-firebase/android')
include ':react-native-config'
project(':react-native-config').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-config/android')
include ':react-native-i18n'
project(':react-native-i18n').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-i18n/android')
include ':react-native-vector-icons'
project(':react-native-vector-icons').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-vector-icons/android')

include ':app'

Same issue here!

Environment:
  OS: macOS Sierra 10.12.6
  Node: 6.11.1
  Yarn: Not Found
  npm: 3.10.10
  Watchman: 4.9.0
  Xcode: Xcode 9.2 Build version 9C40b
  Android Studio: 3.0 AI-171.4443003

Packages: (wanted => installed)
  react: ^16.3.0-alpha.1 => 16.3.0-alpha.1
  react-native: ^0.55.2 => 0.55.2
Was this page helpful?
0 / 5 - 0 ratings

Related issues

csumrell picture csumrell  路  3Comments

callmejm picture callmejm  路  3Comments

joecaraccio picture joecaraccio  路  3Comments

alizahid picture alizahid  路  3Comments

rgoldiez picture rgoldiez  路  3Comments