【发布时间】:2017-10-31 05:51:19
【问题描述】:
我在我的应用程序中使用 SSL 配置调用 SAP API,当应用程序在 Nougat 上运行时,我得到响应代码 200,它工作正常,但在 Marshmallow 及以下,它给出 400(错误请求),无法找到路由原因。请帮忙。
Gradle 代码如下
android {
compileSdkVersion 25
buildToolsVersion "25.0.3"
defaultConfig {
applicationId "xxx.xxx.xxx"
minSdkVersion 16
targetSdkVersion 25
versionCode 3
versionName "3.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
【问题讨论】: