Using hardware rendering with device sdk gphone x86. If you notice graphics artifacts, consider enabling software rendering with "--enable-software-rendering".
Launching lib/main.dart on sdk gphone x86 in debug mode...
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':sqflite'.
> Could not resolve all artifacts for configuration ':sqflite:classpath'.
> Could not download guava.jar (com.google.guava:guava:26.0-jre)
> Could not get resource 'https://jcenter.bintray.com/com/google/guava/guava/26.0-jre/guava-26.0-jre.jar'.
> Could not GET 'https://jcenter.bintray.com/com/google/guava/guava/26.0-jre/guava-26.0-jre.jar'.
> Remote host closed connection during handshake
> Could not get unknown property 'android' for project ':sqflite' of type org.gradle.api.Project.
* 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 15s
Running Gradle task 'assembleDebug'...
Running Gradle task 'assembleDebug'... Done 16.9s
你好,想问下这个是什么原因,创建了一个全新的 Flutter 项目,再未添加 SDK 前已经成功运行。
添加后,就出现这个错误,文档里没有写相关配置方法,来论坛求助下,谢谢。