Код: Выделить всё
Error:Cause: unable to find valid certification path to requested target
Код: Выделить всё
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.2'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
Код: Выделить всё
apply plugin: 'com.android.application'
android {
compileSdkVersion 25
buildToolsVersion "25.0.3"
defaultConfig {
applicationId "com.example.myapplication"
minSdkVersion 15
targetSdkVersion 25
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
compile 'com.android.support:appcompat-v7:25.3.1'
compile 'com.android.support.constraint:constraint-layout:1.0.2'
testCompile 'junit:junit:4.12'
}
Код: Выделить всё
jcenter {
url "http://jcenter.bintray.com/"
}
Код: Выделить всё
maven {
url "http://repo1.maven.org/maven2"
}
Код: Выделить всё
distributionUrl=https://services.gradle.org/distributions/gradle-3.3-all.zip
- Android Studio — невозможно найти действительный путь сертификации для запрошенной цели.
- Ошибка: Причина: невозможно найти действительный путь сертификации для запрошенной цели.
Поскольку сообщество Android кажется практически неактивным, что мне теперь делать? Кто-нибудь, пожалуйста, хотя бы как я, в разделе комментариев.
На другом моем компьютере эта ошибка отображалась с URL-адресом. Я решил это, поместив банку в папку libs после загрузки вручную. Но для этой проблемы я не могу найти решение!
Подробнее здесь: https://stackoverflow.com/questions/441 ... -target-on
Мобильная версия