Unable to build with firebase-core-16.0.3
See original GitHub issueBefore I have submitted the issue
[x ] I have read an installation guide
[x] I know that for an iOS I need to install pods because I’ve read the installation guide
[x] I have read a linking guide and checked that everything is OK like in manual linking guide
[x] I know that before using tipsi-stripe
I need to set options for my app as described in usage guide
The problem
I am unable to build my app after upgrading firebase-core dependency to 16.0.3. If I supply the global firebaseVersion as 16.0.3, I get the error:
- What went wrong: Failed to capture snapshot of input files for task ‘:tipsi-stripe:compileDebugAidl’ property ‘importDirs’ during up-to-date check.
The library com.google.firebase:firebase-iid is being requested by various other libraries at [[17.0.2,17.0.2]], but resolves to 16.0.0. Disable the plugin and check your dependencies tree using ./gradlew :app:dependencies.
If I do not include firebaseVersion
I get:
Failed to capture snapshot of input files for task ‘:tipsi-stripe:compileReleaseAidl’ property ‘importDirs’ during up-to-date check.
The library com.google.firebase:firebase-analytics is being requested by various other libraries at [[16.0.3,16.0.3]], but resolves to 11.8.0. Disable the plugin and check your depen
Environment
tipsi-stripe
version: 5.6.0- Last
tipsi-stripe
version where the issue was not reproduced (if applicable): n/a (also had issue with 5.2.1) - iOS or Android: Android
- OS version:
- React-Native version: 0.57
- (Android only)
com.google.firebase:firebase-core
version: 16.0.3 - (Android only)
com.google.android.gms:play-services-base
version: 15.0.1
Links to logs and sources
build.gradle and app/build.gradle
For Android
, please provide the following sections from android/app/build.gradle
:
ext {
buildToolsVersion = “27.0.3”
minSdkVersion = 16
compileSdkVersion = 27
targetSdkVersion = 26
supportLibVersion = “27.1.1”
firebaseVersion = “16.0.3”
googlePlayServicesVersion = “15.0.1”
}
multiDexEnabled true
Issue Analytics
- State:
- Created 5 years ago
- Comments:20 (1 by maintainers)
Top GitHub Comments
Downgrade
google-services
and have a nice dayI’m actually using other firebase dependencies myself and was getting this issue. I updated my google services to 4.2.0 instead of downgrading it.
classpath 'com.google.gms:google-services:4.2.0'