`// 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.
What went wrong:
Execution failed for task ':app:processDebugResources'.
Android resource linking failed
error: resource style/Theme.AppCompat.Light.NoActionBar (aka com.ahrimaan.eventer:style/Theme.AppCompat.Light.NoActionBar) not found.
error: resource style/Theme.AppCompat.Light.Dialog (aka com.ahrimaan.eventer:style/Theme.AppCompat.Light.Dialog) not found.
C:\Users\pawel.gradle\caches\transforms-1\files-1.1\support-compat-28.0.0.aar\142b1200a8922fa415c00024022770bc\res\values\values.xml:178:5-72: AAPT: error: style attribute 'attr/windowActionBar (aka com.ahrimaan.eventer:attr/windowActionBar)' not found.
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
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':app:processDebugResources'.
error: failed linking references.