flutter app:compileDebugJavaWith
2020-05-12 本文已影响0人
王宝花
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.
> Could not resolve all task dependencies for configuration ':app:debugCompileClasspath'.
> Could not resolve io.flutter:flutter_embedding_debug:1.0.0-ada8a0fd64a34d7299c6db307f65fb9768619a3c.
Required by:
project :app
project :app > project :install_plugin
project :app > project :audioplayers
project :app > project :package_info
project :app > project :path_provider_macos
project :app > project :flutter_plugin_android_lifecycle
project :app > project :url_launcher
project :app > project :shared_preferences_web
project :app > project :shared_preferences_macos
project :app > project :path_provider
project :app > project :permission_handler
project :app > project :shared_preferences
project :app > project :image_picker
project :app > project :url_launcher_macos
project :app > project :image_gallery_saver
project :app > project :url_launcher_web
> Skipped due to earlier error
> Skipped due to earlier error
> Skipped due to earlier error
> Could not resolve io.flutter:x86_64_debug:1.0.0-ada8a0fd64a34d7299c6db307f65fb9768619a3c.
Required by:
project :app
> Skipped due to earlier error
> Skipped due to earlier error
> Skipped due to earlier error
> Could not resolve io.flutter:x86_debug:1.0.0-ada8a0fd64a34d7299c6db307f65fb9768619a3c.
Required by:
project :app
> Skipped due to earlier error
> Skipped due to earlier error
> Skipped due to earlier error
* 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
https://github.com/flutter/flutter/issues/30573
Reverting and adding firebase_core: 0.3.1+1 to my pubspec.yaml has temporarily resolved this issue.
重启
flutter packages cache repair