How to Solve Error: The following classes could not be instantiated



// Click on the file, select the blue image below, reboot yourself and it’s normal.

If everything looks OK in your project and that you’re still receiving the error in all your layouts, try to ‘Invalidate caches & restart’.

Wait until Android Studio has finished to create all the caches & indexes.

Similar Posts: