Android Studio not showing modules in project structure

后端 未结 16 1082
醉酒成梦
醉酒成梦 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:37

    First You Have To Add Name Of Your Module In setting.gradle(Project Setting) File Like This..
    
    include ':app', ':simple-crop-image-lib'
    
    Then You Need To Compile This Module Into build.gradle(Module app) File Like This..
    
    implementation project(':simple-crop-image-lib')
    
    That's all for adding module now it will be appear in android  section or project section as well.
    
    If It's till did't appear rebuild or clean your project..
    

提交回复
热议问题