我得到这个错误Android的工作室 - 无法找到有效的认证路径要求的目标
Gradle 'project_name' project refresh failed: Unable to find valid certification path to requested target
当我创建于Android工作室0.8.14的Mac OSX
建立一个新的项目。 gradle这个文件似乎成为空
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.13.2'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
} }
allprojects {
repositories {
jcenter()
} }
我不能运行该项目,看来我必须手动配置一切。
这里是idea.log http://pastebin.com/kyhfrBp9
我要说的是你的build.gradle文件不那么空虚。这是父级build.gradle,它没有定义任何公共属性。您的模块文件(build.gradle)将为您的项目中的编译单元提供单独的条目。你可以告诉我build.gradle的内容(模块:...) – Soundararajan 2015-01-04 18:52:48
你什么时候遇到这个错误?建立?打开一个项目? 。它阻止你继续?你可以发送该项目文件 – Soundararajan 2015-01-04 18:56:38
您好我已经解决了这个问题确保应用程序级构建gradle依赖关系示例'classpath'com.android.tools.build:gradle:2.3.3''应与** CordovaLib Dir **构建gradle依赖关系'classpath'com.android.tools.build:gradle:2.3.3''此外,检查是否存储库{} {} } ** ** **库* maven {url“http:// jcenter.bintray.com“} }' – 2017-07-31 10:38:38