Building project and deploying app to the emulator with API level 22 or 25 goes ok, but when i try to build APK or deploy app to my real device with API level 16 i get the f
Although I had the same error but the above solution did not work for me. I managed to solve the error by downgrading my firebase-ui library version from 2.0.0 to 1.2.0 and added the following to Project level build.gradle file:
allprojects {
repositories {
jcenter()
// Add the following
maven {
url 'https://maven.fabric.io/public'
}
}
}
This probably doesn't apply to the original question, but in case it helps someone else. I ran into this error with my ionic v1 project. I don't use firebase, but I did fix it with this answer (easy fix for me - standardize all google service versions to be the same in android/project.properties)
for me, I just update firebase library to the newest version and it just worked
Move this:
apply plugin: 'com.google.gms.google-services'
to the bottom of your app/build.gradle file.