Android Studio not showing modules in project structure

Mohamd Ali picture Mohamd Ali · Sep 28, 2013 · Viewed 105k times · Source

I am using Android studio and I want to add module to my project like "action bar Sherlock" or jar files, but when I opened the project structure there is no module or library in the menu :\

In intelij it's appearing:

enter image description here

So what's the problem? How can I add these modules in Android studio?

Answer

Nguyen Tan Dat picture Nguyen Tan Dat · Jun 13, 2018

Update 19 March 2019

A new experience someone has just faced recently even though he/she did add a library module in app module, and include in Setting gradle as described below. One more thing worth trying is to make sure your app module and your library module have the same compileSdkVersion (which is in each its gradle)!

Please follow this link for more details.

Ref: Imported module in Android Studio can't find imported class

Original answer

Sometimes you use import module function, then the module does appear in Project mode but not in Android mode

enter image description here

enter image description here So the thing works for me is to go to Setting gradle, add my module manually, and sync a gradle again:

enter image description here