7

If I make an Android project using Android Studio which is already created in my computer and then I close this project and again open this project it takes only 5 to 10 seconds to open in Android Studio.

But when I try to open some external Android project in Android Studio which is not created by the Android Studio takes too much time to open in Android Studio. Each time Android Studio shows only this screen for long time.

I use Android Studio 2.1.3

Android Studio Opening

Reaz Murshed
  • 23,691
  • 13
  • 78
  • 98
Chandan Sharma
  • 2,803
  • 1
  • 17
  • 25

3 Answers3

0

It is downloading the dependencies. Make sure you have a proper internet connection for gradle to download the dependeicies. If you are behind a proxy server configure the proxy in gradle.properties file before opening the project.

Configure proxy server as follows inside gradle.properties file:

systemProp.http.proxyHost=10.27.11.34
systemProp.https.proxyPort=8080
systemProp.https.proxyHost=10.27.11.34
systemProp.http.proxyPort=8080
Viral Patel
  • 32,418
  • 18
  • 82
  • 110
0

Here are some useful recommendations to speed up the Android Studio in terms of its gradle build time, memory usage although in your case it seems that Android Studio is taking time to download dependencies, creating supported directory structure & build the Project.

There could be proxy settings enable in Android Studio that you might need to disable

Please check this link to figure out your issue

Community
  • 1
  • 1
Muhammad Farhan Habib
  • 1,859
  • 20
  • 23
0

i deleted all gradle folder and copied it from another project and pasted it, this worked for me

古月弓虽
  • 1
  • 1
  • 1
  • 2