기본 콘텐츠로 건너뛰기

Android Studio Private Library Import Method

When importing custom modules in android studio, they are copied into the project folder. If you want the original library project to be imported to the project without copy, set as follows.

In settings.gradle,
  include 'custom-library'
  project(':custom-library').projectDir = new File(settingsDir, 'relative/path/to/custom/library')

In builde.gradle of App,
  compile project(':custom-library')

댓글

이 블로그의 인기 게시물