简体   繁体   中英

How to import William Chart into Android Studio Project?

I am trying to use William Charts for an Android Studio Project of mine but can't seem to import it. I downloaded the WilliamChart-master zip from github , and tried to import it. I'd like to know step by step from download to beeing able to use it.

Follow these steps:

  1. unzip WilliamChart-master.zip
  2. rename the "library" directory in the WilliamChart-master to "WilliamChart"
  3. copy "WilliamChart" directory to your project directory
  4. modify settings.gradle in your project derectory: include ':app', ':WilliamChart'
  5. add this to your build.gradle: compile project(':WilliamChart')

You can now use it as a gradle dependency. Take a look at the Usage wiki page.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM