I was getting this weird error on my google developer console. So i used google Cloud Test Lab to See whats really happening. turns out my app is failing on almost all devic
I hope it's not too late. Firebase was causing trouble, so I excluded it. I just added this on the module gradle:
configurations {
all*.exclude group: 'com.google.firebase', module: 'firebase-common'
}
Not sure if this helps but I had the same issue using Android sdk 19 and it was driving me insane. I dont use Firebase (at least not purposefully) I am not sure why, but the error ceased when I set "minifyEnabled true" in the gradle config.
I see you have yours commented out in your releases section.
I found a solution that worked for me. I was importing whole google play services 9.0.1 library. The temporary workaround is to import only the APIs that your app actually needs. You can get the whole list of APIs here.
Just downgrade the google play-service dependency to compile 'com.google.android.gms:play-services:8.3.0'
and problem will be solved.
Thanks for posting the question Sanket. I'm the PM on Firebase Test Lab (formerly Cloud Test Lab). Wanted to let you know that this is a bug on our end that should now be fixed.
It seems that your app is currently using the latest and greatest Google Play Services. We updated our devices to use them last week then we discovered a bug that had us revert to an older version. Right now, we re-deployed the latest Play services on our devices so rerunning your tests should work. If not, please let me know and we'll look into it and fix it.
If you are using google play services , please make sure that you add the specific service . For example when using maps :
compile 'com.google.android.gms:play-services-maps:x.x.x
instead of
compile 'com.google.android.gms:play-services:9.6.1'
This will reduce the size of the code and compilation will not require the use of "multidex" feature. If by chance you have already included
{
multiDexEnabled true
}
in your code try removing it and unnecessary library references