Android 应用程序在5.0版中崩溃
我面临的问题是,我的android应用程序在4.4.2及以下设备上运行良好,但在具有棒棒糖(5.0)及其相应更高版本的设备上崩溃。我知道它与我的gradle文件中的构建工具有关,但仍然无法解决问题。有人能帮我解决这个问题吗 这是我的gradle档案Android 应用程序在5.0版中崩溃,android,sdk,build-tools,Android,Sdk,Build Tools,我面临的问题是,我的android应用程序在4.4.2及以下设备上运行良好,但在具有棒棒糖(5.0)及其相应更高版本的设备上崩溃。我知道它与我的gradle文件中的构建工具有关,但仍然无法解决问题。有人能帮我解决这个问题吗 这是我的gradle档案 apply plugin: 'com.android.application' android { compileSdkVersion 23 buildToolsVersion '23.0.1' defaultConf
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion '23.0.1'
defaultConfig {
applicationId "com.vs.vertosys"
minSdkVersion 14
targetSdkVersion 23
multiDexEnabled true
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
repositories {
jcenter() {}
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.1.1'
compile 'com.android.support:support-v4:23.1.1'
compile 'com.android.support:multidex:1.0.1'
// compile 'com.android.support:appcompat-v4:23.1.1'
compile 'com.google.android.gms:play-services-gcm:8.4.0'
compile 'com.google.android.gms:play-services-location:+'
compile 'com.pushwoosh:pushwoosh:+'
}
你能发布错误吗?logcat中没有任何错误,但应用程序将在棒棒糖展示你的logcat中崩溃,你得到了哪个错误?将你的构建工具版本设置为23.1.1,然后让我们know@HammadTariqSahi当我使用构建工具版本23.1.1时,它显示错误。正在加载SDK信息。。。忽略未知包筛选器“build-tools-23.1.1”警告:包筛选器已删除所有包。没有要安装的东西。请考虑在没有包过滤器的情况下再次进行更新。