Gradle is failing on syncing my project in the new Android Studio 2.0

前端 未结 12 1579
春和景丽
春和景丽 2020-11-30 12:49

I have just upgraded (i.e., installed a full new version) my Android Studio from 1.5 to 2.0. The upgrade seemed to go smoothly, but I am having trouble with my project when

12条回答
  •  野趣味
    野趣味 (楼主)
    2020-11-30 13:16

    For those have issues with error message: Learn to configure HTTP settings, below is the solution that worked for me. Am using Android studio 2.3.3:

    Go to http://developer.android.com/studio/intro/studio-config.html Step 1: Follow the instructions on: Set up Android studio proxy. Step 2: Follow the instructions on : Android plugin for gradle HTTP proxy setting. You will see proxy settings under : # project wide gradle settings, copy the code there and paste it into the empty space in gradle properties file which is under the build gradle in Android studio. Make sure you are connected to internet while on this process. Wait until the the error disappears.

    Step 3: you may see another message pop up stating: some folders may have been missing syn now. Just click on syn now.

    I hope this help, thanks all.

提交回复
热议问题