flutter运行报错,完整提示如下:
(build.gradle和flutter.gradle都改成阿里云了,这个文件在阿里云镜像也能找到)
* Error running Gradle:
ProcessException: Process "C:\Users\Andy\Documents\VSCode\myapp\android\gradlew.bat" exited abnormally:
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'android'.
> Could not resolve all artifacts for configuration ':classpath'.
> Could not find apksig.jar (com.android.tools.build:apksig:3.2.1).
Searched in the following locations:
https://maven.aliyun.com/repository/google/com/android/tools/build/apksig/3.2.1/apksig-3.2.1.jar
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 1s
Command: C:\Users\Andy\Documents\VSCode\myapp\android\gradlew.bat app:properties
Please review your Gradle project setup in the android/ folder.
Exited (sigterm)