Android Studio not starting: Fatal error initializing 'com.intellij.util.indexing.FileBasedIndex
This works without the loss any settings or project. It will take you to your previous state at the time of editing an open file.
- Go to your home directory. ie /home/XXXXXX/.AndroidStudio.X.X
- Rename the .AndroidStudio.X.X to any thing else i.e. back_up
- Run your android studio.
- It will prompt you to import current setting or create a new version
- choose the import setting and select the back_up directory.
- Bravo you are good to go.
The Easiest solution that works for the latest Android Studio:
- Check the latest Plugin [check by date and time] installed in Android Studio
C:\Users\{Username}\.AndroidStudio\config\plugins
directory. {Mostly Third-party Plugin is the cause} - Go Forward Delete that plugin [
.jar file
]. - no need to delete/rename the whole directory as suggested by others. - Close Android Studio properly - through Task Manager or through Restarting your Computer.
Problem solved !!! Cheers.
There was a similar issue posted on Androids open source bug tracker: https://code.google.com/p/android/issues/detail?id=74458
The solution was to restart your computer. Try this and see if it works.