【发布时间】:2015-07-10 13:58:14
【问题描述】:
当我尝试在 API 级别 22 之前的手机上运行应用程序时收到此错误并且程序崩溃。但是该应用程序在 API 级别 22 的手机上运行良好。这可能是什么原因。
这是我的依赖项:
dependencies
{
compile 'com.google.code.gson:gson:2.3'
compile 'com.android.support:appcompat-v7:22.2.0'
compile 'com.android.support:recyclerview-v7:+'
compile 'com.android.support:support-v4:22.2.0'
compile 'com.google.android.gms:play-services:7.5.0'
compile 'com.facebook.android:facebook-android-sdk:4.3.0'
compile 'com.google.android.gms:play-services-analytics:7.5.0'
compile project(':volley')
compile project(':adjust_SDK')
compile project(':euromessageLib')
compile project(':com_viewpagerindicator')
compile files('libs/adxtag3.2.6.jar')
compile files('libs/jsoup-1.7.3.jar')
compile files('libs/CWAC-Adapter.jar')
compile files('libs/newrelic.android.jar')
compile files('libs/android-query-full.0.26.8.jar')
compile files('libs/khandroid-httpclient-4.2.3.jar')
compile files('libs/GoogleConversionTrackingSdk-2.2.1.jar')
compile('com.crashlytics.sdk.android:crashlytics:2.4.0@aar') {
transitive = true;
}
}
和
android {
compileSdkVersion 22
buildToolsVersion "22.0.1"
defaultConfig {
applicationId "com.deneme"
minSdkVersion 14
targetSdkVersion 22
multiDexEnabled true
}
buildTypes {
release {
minifyEnabled true
proguardFiles 'proguard.cfg'
}
}
productFlavors {
}
}
感谢帮助
【问题讨论】:
-
我认为您使用了一些仅在 sdk 22 中可用的主题
-
尝试 targetSdkVersion set 19 并尝试这个
-
还是不行
标签: android google-play-services