'Android Studio slowly about project saved on USB Stick and shows bracket mistakes

the bracket mistakes shown red underlined are not right, there are no bracket mistakes for sure. When i set a first bracket, the closing bracket is not setted yet, the editor works very slowy and shows the mistake after a few seconds, when closing the bracket the mistake is still shown.

I think, the editor is working very slowly. I already managed memory setting in files menu.

The project is saved on a usb drive. Am I right, that it coulb be, that the usb connection is to slow? Working on a ssd drive, this problem not occured.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source