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 lib
You need to add a gradle.settings
file to your root project structure, after that when you "Open Module settings" you will the menu aligned to your gradle.settings
. When importing a project to Android Studio, it doesn't create this file for you. Sometimes it's usually better to start a clean project and move your code there, it's usually easier to achieve.
Had similar issue when running version control on a project in Android Studio (0.4.2). When pulling it down to a new location and importing the modules, only the "Android SDK" were showing in the Project Structure.
I removed the .idea/ folder from the version control, by adding it to .gitignore file, and did a fresh pull and imported the modules. Now all the settings appeared correctly in the Project Settings and Platform Settings for the Project Structure.
Check settings.gradle. You'll find this : include ':app'
Just add your own module name and it should look like this :
include ':app', ':yourModuleName'
Sync.
That's it.
Make sure the directory name is lower case.