no cached version available for offline mode

后端 未结 9 1701
死守一世寂寞
死守一世寂寞 2020-11-30 07:38

At office, I am behind a proxy. The internet access is restricted.

So I performed a gradle sync at home and copied the folder \".gradle\" present at C:\\Users\\user

9条回答
  •  旧时难觅i
    2020-11-30 07:55

    I'm using android studio in MacBook

    step 1 - Go to preferences by clicking android studio on the left uppermost corner.

    step 2 - Go inside Build,Execution,Deployment.

    step 3 - Finally select Gradle.

    step 4 - then, uncheck offline work. Click apply then ok.

    step 5- lastly try to sync once again.

    Hope this will work because it works for me.

提交回复
热议问题