Import a module into Android Studio

How to import an external module (named ViewPagerIndicator) in Android Studio?

+15
source share
3 answers

Actions to import the module into Android Studio.

  1. Go to File → New → Import Module ...
  2. Select the source directory of the module that you want to import, and click Finish.
  3. Open the "Project Structure" and open the "Module Settings" for your project.
  4. Click the Dependencies tab.
  5. Click the plus sign (+) and select "Module Dependency". Select a module and click Ok.
  6. Open the file build.gradleand verify that the module is now listed in the dependency list.(implementation project(path: ':ViewPagerIndicator')
+47
source

Java Android. .

enter image description here

Java.

+7
  1. File Import Module option.
  2. ViewPagerIndicator .
  3. compile project(path: ':ViewPagerIndicator') Gradle.
+6

Source: https://habr.com/ru/post/1667362/


All Articles