Electronhub.com - searching electronic component made easy

Android include external module from source

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
            exclude group: 'com.android.support:support-fragment'  
  exclude group: 'android.support.design.widget.CoordinatorLayout'