gpt4 book ai didi

Android Studio - 无法找到请求目标的有效认证路径

转载 作者:IT王子 更新时间:2023-10-28 23:46:27 30 4
gpt4 key购买 nike

我收到了这个错误

Gradle 'project_name' 项目刷新失败:找不到请求目标的有效证书路径

当我在 Android Studio 0.8.14 Mac OSX 上创建新项目时

Build.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

最佳答案

这件事发生在我身上,原来是因为 Charles Proxy

Charles Proxy is a HTTP debugging proxy server application

解决方案(仅当您安装了 Charles Proxy 时):

  1. 关闭 Charles Proxy;
  2. 重启 Android Studio。

关于Android Studio - 无法找到请求目标的有效认证路径,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26697118/

30 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com