dinocore1 / DevsmartLib-Android

A Horizontal ListView for Android

Home Page:http://www.dev-smart.com/archives/34

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Importing library to Android Studio

mkotsollaris opened this issue · 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.

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.)