I have problems From time to time with my ItelliJ Android projects. When I start up, IntelliJ will not recognize the Android classes, and shows compiler errros. The project dependencies look okay.
I have been using a work-around for this that involves setting up a new Android SDK in the project. This of course is not optimal, and now that fails as well.
Does anyone else experience this?
Android Studio is actually based on IntelliJ IDEA, but specializes in developing for the Android platform. In contrast, IntelliJ IDEA is a more generalist IDE that helps developers create code for any platform. Both are popular with businesses of all sizes, depending on the use case of the organization.
From the main menu, select File | Project Structure | Project Settings | Modules . Select the module for which you want to set an SDK and click Dependencies. If the necessary SDK is already defined in IntelliJ IDEA, select it from the Module SDK list.
Solved by file/invalidate caches. No Idea what breakes the environment.
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