Android Studio not showing modules in project structure

后端 未结 16 1068
醉酒成梦
醉酒成梦 2020-12-29 17:58

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

16条回答
  •  失恋的感觉
    2020-12-29 18:31

    This Might be help some:

    To import module as library in your project.

    1. File > New > Import Module
    2. Select Valid path in Source Dir..
    3. Tick on Import > Finish

    Now Open Module setting:

    1. Go to File > Project Structure > Modules
    2. Modules > Dependency > click on Green Plus Sign.
    3. Click on Module Dependency > locate module > and Implement your module.

    if your module is not shown in "Choose Modules Window"

    Follow the below step..

    1. Open Settings.Gradle file
    2. include ':app', 'Put your module name here' and sync project.

    Follow Open Module Setting as above.

提交回复
热议问题