我正在发布这样的请求:
requests.post(URL, headers=HEADERS, cookies=COOKIES, data=DATA, proxies=proxy_list[ip_index], timeout=4)
Run Code Online (Sandbox Code Playgroud)
并返回以下错误:
HTTPSConnectionPool(host='www.example.com', port=443): Max retries exceeded with url: /someurl (Caused by SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1123)')))
Run Code Online (Sandbox Code Playgroud) 我只是想在android studio 3.1.4中打开一个现有的项目.在解决了所有错误后,我无法想出这个新的错误:
无法解决:livingata-core
打开文件
无法解决:livingata-core
打开文件
它指的是项目的两个文件(build.gradle),其中一个是:
//noinspection GradleDependency
apply plugin: 'com.android.application'
buildscript {
repositories {
mavenCentral()
maven { url 'https://maven.fabric.io/public' }
google()
}
dependencies {
classpath 'io.fabric.tools:gradle:1.+'
}
}
repositories {
mavenCentral()
maven { url 'https://maven.fabric.io/public' }
google()
}
android {
compileSdkVersion 28
buildToolsVersion '27.0.3'
defaultConfig {
applicationId "come.texi.driver"
minSdkVersion 16
targetSdkVersion 28
versionCode 2
versionName "2.0"
multiDexEnabled true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
dexOptions {
preDexLibraries = false
javaMaxHeapSize "4g" …Run Code Online (Sandbox Code Playgroud)