android - I have updated flutter and android studio. now any new dependencies are not installing
问题描述
I am beginner in flutter and I have updated flutter and android studio. now any new dependencies are not installing.
When try to build it gives fallowing error.
Note: C:\Users{user name}AppData\Local\Pub\Cache\hosted\pub.dartlang.org\flutter_tts-2.1.0\android\src\main\java\com\tundralabs\fluttertts\FlutterTtsPlugin.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details.
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':flutter_tts:extractDebugAnnotations'. Could not resolve all files for configuration ':flutter_tts:lintClassPath'. Could not download lint-checks-27.1.1.jar (com.android.tools.lint:lint-checks:27.1.1) > Could not get resource 'https://dl.google.com/dl/android/maven2/com/android/tools/lint/lint-checks/27.1.1/lint-checks-27.1.1.jar'. > Tag mismatch! Could not download kotlin-compiler-27.1.1.jar (com.android.tools.external.com-intellij:kotlin-compiler:27.1.1) > Could not get resource 'https://dl.google.com/dl/android/maven2/com/android/tools/external/com-intellij/kotlin-compiler/27.1.1/kotlin-compiler-27.1.1.jar'. > Tag mismatch! Could not download uast-27.1.1.jar (com.android.tools.external.org-jetbrains:uast:27.1.1) > Could not get resource 'https://dl.google.com/dl/android/maven2/com/android/tools/external/org-jetbrains/uast/27.1.1/uast-27.1.1.jar'. > Tag mismatch!
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 1m 17s Exception: Gradle task assembleDebug failed with exit code 1
解决方案
推荐阅读
- c - 如何使用 Thrift 代替 RPC 进行消息传递
- sql - CASE WHEN 中连续日期的平均小时数差异
- python - 运行命令几秒钟的脚本
- python - 为什么我认为是“未定义名称'play'”的错误?
- c# - 即使在按下按钮 X 后如何显示 c#?
- javascript - 如何使 fontawesome4 微调器图标在 dom 上占 100% 大小?
- python - 查找两列一起不等于预定值的行
- android - 当我使用firebase方法从firebase存储中检索下载url时,它返回这种格式“com.google.android.gms.tasks.zzu@41f55k88”
- javascript - 使用 jQuery 添加输入和字段集
- sql - Oracle 中的列标题中的行值