jumped electricity while I was working with Android Studio..
After I opened the new Android Studio and began the problems!
The error would be written in red, have not been able to solve this problem
I tried to uninstall and then reinstall, including JDK and SDK, but nothing to do!
It seems that they are not recognized the packages and library of Java..
Does anyone have any idea what has happened?
It seems to be that your project doesn’t contain any android SDK setting.
File > Project Structure > Project SDK should be a some of android sdk’s.
File > Project Structure > Modules > Dependencies tab
I recently had this problem and solved it by closing the project and doing ‘Import project’.
Had the same issue.
File > Invalidate Caches / Restart