Home » Android » android studio does not recognize libraries

android studio does not recognize libraries

Posted by: admin June 15, 2020 Leave a comment


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?

How to&Answers:

It seems to be that your project doesn’t contain any android SDK setting.
Check this File > Project Structure > Project SDK should be a some of android sdk’s.
So as 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.
Try This: File > Invalidate Caches / Restart