Java 我的应用程序不支持Android verision 4.4.4或更低版本
这是我的gradle.build(应用程序)。。。我的应用程序不支持Android版本4.4.4或更低版本的设备。我的第一个版本支持所有设备,但在我更新SDK和Google Play服务后,它不支持4.4.4或更低版本。以前我在这里的firebase版本是9.0.0,但现在我将其更改为11.0.1,因为firebase analytics不支持它Java 我的应用程序不支持Android verision 4.4.4或更低版本,java,android,firebase,android-version,Java,Android,Firebase,Android Version,这是我的gradle.build(应用程序)。。。我的应用程序不支持Android版本4.4.4或更低版本的设备。我的第一个版本支持所有设备,但在我更新SDK和Google Play服务后,它不支持4.4.4或更低版本。以前我在这里的firebase版本是9.0.0,但现在我将其更改为11.0.1,因为firebase analytics不支持它 apply plugin: 'com.android.application' android { signingConfigs { con
apply plugin: 'com.android.application'
android {
signingConfigs {
config {
keyAlias 'CSSkey'
keyPassword 'romasa123'
storeFile file('C:/Users/Romasa Khalid/AndroidStudioProjects/CSS.jks')
storePassword 'romasa123'
}
}
compileSdkVersion 25
buildToolsVersion "26.0.0"
defaultConfig {
applicationId "romasakhalid.css"
minSdkVersion 14
targetSdkVersion 25
versionCode 3
versionName "1.1.1"
multiDexEnabled true
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
packagingOptions {
exclude 'META-INF/DEPENDENCIES'
exclude 'META-INF/NOTICE'
exclude 'META-INF/LICENSE'
exclude 'META-INF/NOTICE.txt'
exclude 'META-INF/LICENSE.txt'
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.config
}
}
dexOptions {
preDexLibraries = false
}
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2',{
exclude group: 'com.android.support', module: 'support-annotations'
exclude group: 'com.android.support', module: 'support-v4'
})
compile 'com.android.support:appcompat-v7:25.3.1'
compile 'com.android.support:mediarouter-v7:25.3.1'
compile 'com.android.support:palette-v7:25.3.1'
compile 'com.google.android.gms:play-services-analytics:11.0.1'
compile 'com.google.firebase:firebase-ads:11.0.1'
compile 'com.android.support.constraint:constraint-layout:1.0.2'
compile 'com.android.support:support-v4:25.3.1'
compile 'com.android.support:design:25.3.1'
compile 'com.android.support:cardview-v7:25.3.1'
compile 'com.google.firebase:firebase-core:11.0.1'
compile 'com.google.firebase:firebase-database:11.0.1'
compile 'com.firebaseui:firebase-ui-database:2.0.1'
compile 'com.android.support:recyclerview-v7:25.3.1'
testCompile 'junit:junit:4.12'
}
apply plugin: 'com.google.gms.google-services'
}
在
4.4.4
或更低版本中运行应用程序时,它是否会抛出任何错误?它必须在这个版本中工作。检查你能再描述一下吗?您的应用程序如何不受支持?是在您尝试测试应用程序的过程中(最低api..大于minsdk)还是什么?还是会崩溃?在较低的sdk Phone中,它位于play store中。。当人们试图安装它时,它会安装。。但是不起作用。。当打开应用程序时,它会显示应用程序已停止工作…然后您需要检查play store帐户中的崩溃报告。错误内容,尤其是该版本。获取此错误:/java.lang.RuntimeException:无法获取提供程序com.google.firebase.provider.FirebaseInitProvider:java.lang.ClassNotFoundException:在路径:DexPathList[[zip文件”//data/app/romasakhalid.css-1.apk]上未找到类“com.google.firebase.provider.FirebaseInitProvider”],nativeLibraryDirectories=[/data/app lib/romasakhalid.css-1,/vendor/lib,/system/lib]]