Android classes not found in IDE

Hi. I just started developing extensions. The extension compiles and works, but my IDE does not detect the android class. For example, import android.app.Activity; is not found. Appinventor classes are found in appinventor/src.

Are you using Rush or Extension Template?

I used the official extension template from github.

Did you clone the repository with the --recurse-submodules argument? If so, you should see under the lib/appinventor directory all of the JAR files App Inventor uses for dependencies, including android.jar. You'll need to make sure your IDE is picking that directory up.