美文网首页
flutter app:compileDebugJavaWith

flutter app:compileDebugJavaWith

作者: 王宝花 | 来源:发表于2020-05-12 14:27 被阅读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
    

    相关文章

      网友评论

          本文标题:flutter app:compileDebugJavaWith

          本文链接:https://www.haomeiwen.com/subject/viybnhtx.html