Android Studio:

  • Download or git the library. (for example: the library folder named ActionBarSherlock)
  • Create a folder named libraries in your root directory of project.
  • Copy & Paste the library into libraries.
  • On the root of your project, modify setting.gradle (if not exist, create it), add this library.

    include(‘:libraries:ActionBarSherlock’)

  • Edit your project’s build.gradle, tell gradle to compile your added library,add below code in the dependencies tag.

    compile project(:libraries:ActionBarSherlock)

  • Run gradle clean && gradle assemble on your root project.

相关文章:

  • 2021-05-28
  • 2022-01-21
  • 2022-12-23
  • 2022-12-23
  • 2021-06-15
  • 2021-07-31
  • 2021-09-06
  • 2021-07-31
猜你喜欢
  • 2021-10-27
  • 2021-07-08
  • 2021-07-31
  • 2022-02-27
  • 2021-10-02
  • 2021-03-31
  • 2022-12-23
相关资源
相似解决方案