Home » Android » windows – Android Studio keeps Crashing

windows – Android Studio keeps Crashing

Posted by: admin June 15, 2020 Leave a comment

Questions:

I recently upgraded from Windows 7 to Windows 10. Ever since I’ve been using Windows 10, Android Studio has been crashing. It starts and tries loading the project, and then crashes. If I press cancel while it’s loading the project, it goes to the new project/open a project start screen. At this point it’s stable, so it must be something to do with opening the projects. I know that the projects aren’t corrupted because I’ve made new ones and they crash too. If I look at the bottom right where the loading description is, it works until ‘indexing files’ ends.

I’ve scoured the web for hours and hours, but to no avail. I added system variables, I deleted a registry key, I reinstalled the program twice, and I even downgraded to Windows 7 to see if it would work on that OS (it did).

Any help to get it to run would be very much appreciated.

How to&Answers:

Run Android Studio “as administrator”

Answer:

if you look at the website http://developer.android.com/sdk/index.html
it doesn’t support windows 10 yet so you might have to downgrade to windows 7 for awhile or wait till they update the software
“System Requirements
Windows

Microsoft® Windows® 8/7/Vista/2003 (32 or 64-bit)
2 GB RAM minimum, 4 GB RAM recommended”

Answer:

I will suggest the following solution:

  1. Run your Android Studio 2-3 times, 3rd time is usually the charm 🙂

If it doesn’t work.

  1. Go to your project directory and open CMD in that directory. type in

    run gradlew.bat OR gradlew.bat
    
  2. Let it refresh the gradle files.

  3. Start your android studio