Home > Mobile >  Flutter study, project operation error. Bosses look, urgent urgent
Flutter study, project operation error. Bosses look, urgent urgent

Time:10-06

A problem occurred you root project 'android'.
& gt; Could not resolve all artifacts for the configuration ': the classpath'.
& gt; Could not resolve com. Android. View the build: gradle: 3.2.1.
Required by:
Project:
& gt; Could not resolve com. Android. View the build: gradle: 3.2.1.
& gt; Could not get the resource 'https://maven.aliyun.com/repository/google/com/android/tools/build/gradle/3.2.1/gradle-3.2.1.pom'.
& gt; Could not HEAD 'https://maven.aliyun.com/repository/google/com/android/tools/build/gradle/3.2.1/gradle-3.2.1.pom'.
& gt; Sun. Security. The validator. ValidatorException: PKIX path building failed: sun. Security. The provider. Certpath. SunCertPathBuilderException: unable to find the valid certification path to the requested target

CodePudding user response:

Inside the project directory/gradle wapper gradletool version of configuration has a problem,
Suggested use: distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-all.zip
Version, can avoid many problems
  • Related