DoubleVoid DoubleVoid - 1 year ago 180
Android Question

Galaxy S3 not working, could not find Firebase provider

I saw several answers to this problem, but nothing seems to help. I am installing my self signed Release-APK on a Samsung Galaxy S3 without any problem. Starting the app produces the following Exception;

java.lang.RuntimeException: Unable to get provider java.lang.ClassNotFoundException: Didn't find class "" on path: /data/app/

Here's my gradle script (app):

apply plugin: ''

android {
compileSdkVersion 24
buildToolsVersion "24.0.0"
defaultConfig {
applicationId ""
minSdkVersion 18
targetSdkVersion 24
versionCode 1
versionName "1.0"
testInstrumentationRunner ""
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), ''

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
androidTestCompile('', {
exclude group: '', module: 'support-annotations'
compile ''
testCompile 'junit:junit:4.12'

compile ''
compile ''

I tried using only specific google play services. Didn't help.
Works fine with the emulator and on my Nexus 5.

Answer Source

This could be because the Samsung Galaxy S3 is a relatively outdated device, which has been released over 3 years ago. Although in the documentation, Firebase states that its framework works in Android 2.2 and above, this may not always be the case for the latest Firebase updates.

I recommend using at least Android 4.1 as the target API in the manifest and try to clean and rebuild the app.

If this doesn't work, I recommend you to add the following line of code to better debug the issue with Firebase:


This needs to be added when you initialise a call to your Firebase database.

Hope this helps :)

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download