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?
Navigate to File > Project Structure > Dependencies. In the Declared Dependencies tab, click and select Library Dependency in the dropdown. In the Add Library Dependency dialog, use the search box to find the library to add.
Add a new module to your project by clicking File > New > New Module. Provides a container for your app's source code, resource files, and app level settings such as the module-level build file and Android Manifest file.
I recently had this problem and solved it by closing the project and doing 'Import project'.
I had this problem, building was successful, just the editors flagging some of my imports as errors. I closed the project, deleted the .idea and .iml files then did new import of the project and it was solved.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With