DevsmartLib-Android icon indicating copy to clipboard operation
DevsmartLib-Android copied to clipboard

Importing library to Android Studio

Open mkotsollaris opened this issue 10 years ago • 1 comments

Hi, can somebody provide steps to import the library to Android Studio? I have tried using VCS->Github feature but unfortunately haven't achieved anything.

mkotsollaris avatar Jan 22 '15 16:01 mkotsollaris

You can import this project in android studio.

  1. Download this project, and extract some folder.
  2. in Android Studio, File -> import Modules
  3. choose extracted folder, rename module name, and click next.
  4. next.
  5. you can see SDK Manager error, but skip.
  6. in Project Explorer, find {module name}/build.gradle
  7. compileSdkVersion 4 buildToolsVersion "21.1.2" to compileSdkVersion 21 buildToolsVersion "21.1.2"
  8. Gradle Build
  9. find app folder (or your main module name), and Click Open Module Setting in context menu.
  10. click your main module name, and click dependencies, and click + button, and click Module Dependency.
  11. select {module name}, and apply.

complete! (sorry to my ugly english.)

WindSekirun avatar Mar 05 '15 16:03 WindSekirun