久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

沒(méi)有可用于離線模式的 com.google.gms:google-services

No cached version of com.google.gms:google-services:1.x.x available for offline mode(沒(méi)有可用于離線模式的 com.google.gms:google-services:1.x.x 的緩存版本)
本文介紹了沒(méi)有可用于離線模式的 com.google.gms:google-services:1.x.x 的緩存版本的處理方法,對(duì)大家解決問(wèn)題具有一定的參考價(jià)值,需要的朋友們下面隨著小編來(lái)一起學(xué)習(xí)吧!

問(wèn)題描述

錯(cuò)誤:沒(méi)有緩存版本的 com.google.gms:google-services:1.4.0-beta3 可用于離線模式.禁用 Gradle 的離線模式"并同步項(xiàng)目

Error:No cached version of com.google.gms:google-services:1.4.0-beta3 available for offline mode. Disable Gradle 'offline mode' and sync project

我正面臨這個(gè)問(wèn)題,因?yàn)槲以?android studio 中以離線模式工作.有人可以告訴我這個(gè)緩存文件存儲(chǔ)在我的 Windows 中的什么位置以及我從哪里獲取這個(gè)文件,以便我可以單獨(dú)下載并粘貼/保留它,然后構(gòu)建我的 android 項(xiàng)目.

I am facing this issue because I am working in offline mode in android studio. Can some body please tell me where is this cached file stored in my windows and from where I'll get this file so that I can separately download it and paste/keep it, and build my android project.

推薦答案

離線模式不允許你完全離線工作.它實(shí)際上是一種良好的緩存模式.每當(dāng)您添加新的依賴項(xiàng)時(shí),您HAVE 可以同步項(xiàng)目,ATLEAST ONCE.Android Studio 必須下載(然后緩存)應(yīng)用程序才能運(yùn)行的依賴項(xiàng).一旦你同步了 gradle 文件,你就可以切換到離線模式,你就可以工作了.

The Offline mode does not allow you to completely work offline. Its actually a GOOD cache mode. Whenever you add new dependencies, You HAVE to gradle sync the project, ATLEAST ONCE. Android studio has to download(then cache) the dependencies for the app to work. Once you sync the gradle files, then you can switch to offline mode, and you can work.

如果您必須離線工作,那么我建議您確定應(yīng)用程序中所需的所有依賴項(xiàng).一次添加它們并同步 Gradle.然后切換到離線模式.

If you must work offline, then i would suggest determining all the dependencies you need in your application. Add them all at once and Gradle sync. Then switch to Offline mode.

更新
如果您在代理網(wǎng)絡(luò)后面工作,請(qǐng)轉(zhuǎn)到 File-> Settings -> Under Appearence &行為 -> 在系統(tǒng)設(shè)置下 -> HTTP 代理 -> 單擊手動(dòng)代理配置,然后添加必要的詳細(xì)信息.然后轉(zhuǎn)到您的 gradle.properties 文件,該文件應(yīng)包含以下內(nèi)容:

UPDATE
If you are working behind a proxy network, then goto File-> Settings -> Under Appearence & Behavior -> Under System Settings -> HTTP Proxy -> Click on Manual proxy configuration, and add the neccessary details. Then goto your gradle.properties file which should contain sometyhing like this :

systemProp.http.proxyPassword=your_password
systemProp.http.proxyHost=host_Ip_address
systemProp.http.proxyUser=your_username
systemProp.http.proxyPort=port_number

將此連同上述內(nèi)容一起添加到您的文件中:

Add this to your file, along with the above :

systemProp.https.proxyPassword=your_password
systemProp.https.proxyHost=host_Ip_address
systemProp.https.proxyUser=your_username
systemProp.https.proxyPort=port_number

可以從瀏覽器的代理設(shè)置中找到這些詳細(xì)信息.

These details can be found out from your browser's proxy settings.

這篇關(guān)于沒(méi)有可用于離線模式的 com.google.gms:google-services:1.x.x 的緩存版本的文章就介紹到這了,希望我們推薦的答案對(duì)大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

【網(wǎng)站聲明】本站部分內(nèi)容來(lái)源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問(wèn)題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請(qǐng)聯(lián)系我們刪除處理,感謝您的支持!

相關(guān)文檔推薦

IncompatibleClassChangeError after updating to Android Build Tools 25.1.6 GCM / FCM(更新到 Android Build Tools 25.1.6 GCM/FCM 后出現(xiàn) IncompatibleClassChangeError)
How to get current flavor in gradle(如何在 gradle 中獲取當(dāng)前風(fēng)味)
How to fix quot;unexpected element lt;queriesgt; found in lt;manifestgt;quot; error?(如何修復(fù)“意外元素lt;查詢gt;在“清單中找到錯(cuò)誤?)
Multi flavor app based on multi flavor library in Android Gradle(基于 Android Gradle 中多風(fēng)味庫(kù)的多風(fēng)味應(yīng)用)
Android dependency has different version for the compile and runtime(Android 依賴在編譯和運(yùn)行時(shí)有不同的版本)
Transitive dependencies for local aar library(本地 aar 庫(kù)的傳遞依賴)
主站蜘蛛池模板: 欧美区日韩区 | 欧美美女被c | 日韩视频在线一区 | 国产精品免费一区二区三区 | 国产黄色大片 | 91免费在线看 | 亚洲成人av | 在线视频一区二区 | 亚洲国产二区 | 久久久久高清 | 欧美日韩一本 | 久草在线青青草 | 欧美精品久久久久久久久久 | 操人网站| 久久国内精品 | 国产一区二区免费在线 | 欧美视频免费在线 | 成人老司机 | 中文字幕亚洲国产 | 在线国产一区二区三区 | 日本在线免费视频 | 天天操人人干 | 亚洲成人免费网址 | 天天爽一爽 | 久久91| 国产欧美视频一区 | 黄a免费网络 | 91社影院在线观看 | 天天操网 | 日本欧美在线观看视频 | 亚洲一二三区精品 | 午夜精品久久 | 欧美国产一区二区 | 国产黄色网址在线观看 | 日本 欧美 三级 高清 视频 | 在线视频h | 亚州毛片 | 亚洲九色| 中文字字幕一区二区三区四区五区 | 成人久久久久 | 日本久久黄色 |