重新配置flutter后死活运行了不 了 :代码以下
* Where:
Build file 'C:\Users\Administrator\AndroidStudioProjects\flutter_app\android\app\build.gradle' line: 15
* What went wrong:
A problem occurred evaluating project ':app'.
> Could not resolve all files for configuration 'classpath'.
> Could not find intellij-core.jar (com.android.tools.external.com-intellij:intellij-core:26.0.1).
Searched in the following locations:
https://jcenter.bintray.com/com/android/tools/external/com-intellij/intellij-core/26.0.1/intellij-core-26.0.1.jar
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
* Get more help at https://help.gradle.org
BUILD FAILED in 1s
Finished with error: Please review your Gradle project setup in the android/ folder.
按照网上的方法该改的改了,还是不行,,
后来找到 报错的15行,去15行又找到他的来源文件,加了句加个google()就可以了