I have update Android Studio to latest version 3.1.1, but is so slowly , especially when I editing build.gradle file , is there any solution ? (before I use 3.0.1 , that is so fast)
-
1The fastest solution is downgrade the version to an stable version.– TatsuyaApr 11, 2018 at 9:50
-
@Antonio - 3.1.1 is the latest stable version.– itDontMeanAThingApr 12, 2018 at 1:23
-
13.1.1 build is so slow, 3.1 is fast– ieatbyteApr 13, 2018 at 8:08
-
Well , now Android Studio 3.1.2 has fixed this problem– forgot2015May 9, 2018 at 2:38
4 Answers
It seems like this is only happening in China. Try this solution:
https://stackoverflow.com/a/47342580/501175
According to the answer above, there are two ways you can try:
- You need to modify the proxy setting of your Android Studio
- Simple add a line
127.0.0.1 search.maven.org
to the /etc/hosts file. I am using the second one and it works fine.
-
1Same thing here in Russia. And why is it blocking the editor's UI thread? adding 127.0.0.1 for search.maven.org to /etc/hosts -> worked for me, thanks! Apr 17, 2018 at 17:58
-
Got no idea :( maybe the android studio is sending network request on the UI thread, which is really not
android style
– zijing07Apr 18, 2018 at 10:21
Well , now Android Studio 3.1.2 has fixed this problem
How's about downgrading Android Studio to 3.0.1? I had the same issue as you. As a result, I downgraded it.
In case anyone wants to download different versions of Android Studio, this is the link you need: Download Archives
It's a reported bug in Android Studio you can follow the issue here https://issuetracker.google.com/issues/77211316
It's been fixed in version 3.2 canary 11
Edit: They've released this fix with 3.1.2 in stable branch too.