Yorumlar

Buse Şentürk
4 yıl 7 ay önce
Şuan aldığınız hata firebase ile kısmen alakası yok bu hata sdk uyuşmazlığından kaynaklanıyor. minSdkVersion 16 yapın ve tekrar deneyin eğer olmaz ise uygulamanı andoroidx e geçirmeyi deneye bilirsin. Uygulama app klasörüne sağ tıkla Refactor/Migrate to Androidx i tıklayarak uygulamanı AndroidX e geçire bilirsin apply plugin: 'com.android.application' apply plugin: 'com.google.gms.google-services' android { compileSdkVersion 28 defaultConfig { applicationId "com.busesenturk.dahayeil" minSdkVersion 16 targetSdkVersion 28 versionCode 1 versionName "1.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } } dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation 'androidx.appcompat:appcompat:1.0.0' implementation 'androidx.legacy:legacy-support-v4:1.0.0' implementation 'com.google.android.material:material:1.0.0' implementation 'androidx.constraintlayout:constraintlayout:1.1.3' implementation 'com.google.firebase:firebase-core:16.0.9' implementation 'com.google.firebase:firebase-database:17.0.0' implementation 'com.google.firebase:firebase-auth:17.0.0' implementation 'com.google.firebase:firebase-storage:17.0.0' testİmplementation 'junit:junit:4.12' androidTestİmplementation 'androidx.test:runner:1.1.0' androidTestİmplementation 'androidx.test.espresso:espresso-core:3.1.0' implementation 'com.android.support:support-compat:28.0.0' }