Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IntelliJ can't see Android SDK classes

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?

like image 351
Glenn Bech Avatar asked Dec 10 '11 12:12

Glenn Bech


People also ask

Is IntelliJ better than Android studio?

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.

How do I download SDK from IntelliJ?

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.


1 Answers

Solved by file/invalidate caches. No Idea what breakes the environment.

like image 120
Glenn Bech Avatar answered Sep 28 '22 20:09

Glenn Bech