Android include external module from source

sapan
Include external module

including external module into the project

  • copy the module files from the git of where ever to the project source directory.
  • In setting.gradle for the project include the module with the path
include ':app', ':pix'  
project(':pix').projectDir = new File('PixImagePicker/pix')
  • In build.gradle add the project
implementation(project(':pix'))  
        {  
            exclude group: 'com.android.support:support-fragment'  
  exclude group: 'android.support.design.widget.CoordinatorLayout'  
  }

Post a Comment

0Comments
Post a Comment (0)

#buttons=(Accept !) #days=(20)

Our website uses cookies to enhance your experience. Learn More
Accept !