无法解析Android应用程序模块的Gradle配置。解决gradle构建问题和/或重新同步

时间:2017-06-13 07:39:24

标签: android firebase firebase-realtime-database

我无法连接到Firebase。这可能是导致此错误的原因。 我使用的是Android的最新版本。请参阅idea.log中捕获的以下错误

    2017-06-13 13:04:39,507 [21393897]   INFO - s.RepoProgressIndicatorAdapter - Downloading https://dl.google.com/android/repository/addons_list-3.xml 
2017-06-13 13:04:59,317 [21413707]   INFO - er.configure.SourcesTableModel - IOException: https://dl.google.com/android/repository/addons_list-3.xml 
2017-06-13 13:04:59,318 [21413708]   INFO - er.configure.SourcesTableModel - java.io.IOException: Cannot download 'https://dl.google.com/android/repository/addons_list-3.xml': connect timed out 
2017-06-13 13:04:59,321 [21413711]   INFO - er.configure.SourcesTableModel - Downloading https://dl.google.com/android/repository/addons_list-2.xml 
2017-06-13 13:04:59,526 [21413916]   INFO - s.RepoProgressIndicatorAdapter - IOException: https://dl.google.com/android/repository/addons_list-3.xml 
2017-06-13 13:04:59,527 [21413917]   INFO - s.RepoProgressIndicatorAdapter - java.io.IOException: Cannot download 'https://dl.google.com/android/repository/addons_list-3.xml': connect timed out 
2017-06-13 13:04:59,535 [21413925]   INFO - s.RepoProgressIndicatorAdapter - Downloading https://dl.google.com/android/repository/addons_list-2.xml 
2017-06-13 13:05:19,328 [21433718]   INFO - er.configure.SourcesTableModel - IOException: https://dl.google.com/android/repository/addons_list-2.xml 
2017-06-13 13:05:19,328 [21433718]   INFO - er.configure.SourcesTableModel - java.io.IOException: Cannot download 'https://dl.google.com/android/repository/addons_list-2.xml': connect timed out 
2017-06-13 13:05:19,329 [21433719]   INFO - er.configure.SourcesTableModel - Downloading https://dl.google.com/android/repository/addons_list-1.xml 
2017-06-13 13:05:19,543 [21433933]   INFO - s.RepoProgressIndicatorAdapter - IOException: https://dl.google.com/android/repository/addons_list-2.xml 
2017-06-13 13:05:19,543 [21433933]   INFO - s.RepoProgressIndicatorAdapter - java.io.IOException: Cannot download 'https://dl.google.com/android/repository/addons_list-2.xml': connect timed out 
2017-06-13 13:05:19,545 [21433935]   INFO - s.RepoProgressIndicatorAdapter - Downloading https://dl.google.com/android/repository/addons_list-1.xml 
2017-06-13 13:05:39,332 [21453722]   INFO - er.configure.SourcesTableModel - IOException: https://dl.google.com/android/repository/addons_list-1.xml 
2017-06-13 13:05:39,332 [21453722]   INFO - er.configure.SourcesTableModel - java.io.IOException: Cannot download 'https://dl.google.com/android/repository/addons_list-1.xml': connect timed out 
2017-06-13 13:05:39,332 [21453722]   WARN - er.configure.SourcesTableModel - Failed to download any source lists! 
2017-06-13 13:05:39,551 [21453941]   INFO - s.RepoProgressIndicatorAdapter - IOException: https://dl.google.com/android/repository/addons_list-1.xml 
2017-06-13 13:05:39,551 [21453941]   INFO - s.RepoProgressIndicatorAdapter - java.io.IOException: Cannot download 'https://dl.google.com/android/repository/addons_list-1.xml': connect timed out 
2017-06-13 13:05:39,551 [21453941]   WARN - s.RepoProgressIndicatorAdapter - Failed to download any source lists! 
2017-06-13 13:05:39,553 [21453943]   INFO - s.RepoProgressIndicatorAdapter - Downloading https://dl.google.com/android/repository/repository2-1.xml 
2017-06-13 13:05:59,612 [21474002]   WARN - s.RepoProgressIndicatorAdapter - java.io.IOException: Cannot download 'https://dl.google.com/android/repository/repository2-1.xml': connect timed out 
2017-06-13 13:05:59,615 [21474005]   INFO - s.RepoProgressIndicatorAdapter - Downloading file:/C:/Program%20Files/Android/Android%20Studio/plugins/sdk-updates/offline-repo/offline-repo.xml 

0 个答案:

没有答案