2017-11-19 1 views
0

최근 안드로이드 스튜디오를 설치했지만 빈 프로젝트를 빌드 할 수 없습니다! 문제가 어디 있습니까? !!
는 동기화 문제 세부 우는 찾을 수안드로이드 스튜디오로 첫 번째 빈 프로젝트를 만들 수 없습니다

Unable to resolve dependency for ':[email protected]/compileClasspath': Could not resolve com.android.support.test:runner:1.0.1. 
 

 
Could not resolve com.android.support.test:runner:1.0.1. 
 
Required by: 
 
    project :app 
 
> Could not resolve com.android.support.test:runner:1.0.1. 
 
    > Could not get resource 'https://dl.google.com/dl/android/maven2/com/android/support/test/runner/1.0.1/runner-1.0.1.pom'. 
 
      > Could not GET 'https://dl.google.com/dl/android/maven2/com/android/support/test/runner/1.0.1/runner-1.0.1.pom'. 
 
        > sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target 
 
           > PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target 
 
               > unable to find valid certification path to requested target

+1

일반 브라우저를 사용하여 pom 파일을 다운로드 할 수 있습니까? 링크 :'https : // dl.google.com/dl/android/maven2/com/android/support/test/runner/1.0.1/runner-1.0.1.pom' – ademar111190

+0

아니요! can not .. 404 오류가 있습니다. – Smaillns

+0

해당 파일을 다운로드해야하므로 프로젝트가 작성되지 않은 것으로 보입니다. 다운로드가 가능하므로 인터넷 문제 일 가능성이 있습니다. – ademar111190

답변

1

당신은 때문에 어쩌면이

testImplementation 'junit:junit:4.12' 
androidTestImplementation 'com.android.support.test:runner:1.0.1' 
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1' 

같은 문제가 보인다, 종속 내부 gradle.build (응용 프로그램)의 모든 테스트 파일을 제거하려고 할 수 있습니다 인터넷에 연결하여 파일을 다운로드 할 수 없도록하십시오.

+0

그것이 유일한 문제가 아닌 것 같습니다! – Smaillns

+0

': app @ debugUnitTest/compileClasspath'에 대한 의존성을 해결할 수 없습니다 : com.android.support:appcompat-v7:26.1.0을 해결할 수 없습니다. – Smaillns

+0

** 설정 -> 빌드, 실행, 배포 -> Gradle **이 오프라인 작업 중이 아닌지 확인 했습니까? –

관련 문제