At times, Android Studio just slows down while indexing files on the Linux file system. To overcome this problem, some files like Thumbs.db or thumbs.db can be prevented from being taken up for indexing. To do so, start Android Studio and select the
File->Settings -> File Types.
Then at the end of the list of files to ignore, add
This should cause a small improvement in performance when running Android Studio.