invertase / react-native-firebase-starter

DEPRECATED: For RNFB v5 only.
https://rnfirebase.io/docs
Other
1.17k stars 335 forks source link

Out-of-the box: Error Building Android ressource linking failed #111

Closed Avarios closed 5 years ago

Avarios commented 5 years ago

Hi, Steps to Reproduce on a Windows Machine : git clone https://github.com/invertase/react-native-firebase-starter.git

Node v 10.15.0 Android Stuido 3.4 build.gradle:

`// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript { ext { buildToolsVersion = "28.0.3" minSdkVersion = 16 compileSdkVersion = 28 targetSdkVersion = 28 supportLibVersion = "28.0.0" } repositories { google() jcenter() maven { url 'https://maven.fabric.io/public' } } dependencies { classpath 'com.android.tools.build:gradle:3.3.2' classpath 'com.google.gms:google-services:4.2.0' classpath 'com.google.firebase:firebase-plugins:1.2.0' classpath 'io.fabric.tools:gradle:1.26.1' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files } }

allprojects { repositories { google() mavenLocal() jcenter() maven { // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm url "$rootDir/../node_modules/react-native/android" } } }

task wrapper(type: Wrapper) { gradleVersion = '4.10.2' distributionUrl = distributionUrl.replace("bin", "all") } ` on npm run android getting following error

Task :react-native-firebase:compileDebugJavaWithJavac 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.

Task :app:processDebugResources FAILED

FAILURE: Build failed with an exception.

Avarios commented 5 years ago

oh man , dump ass error , just forgotten to cleanup my gradle chache ... please close this useless issue ....