How do I add a library project to Android Studio?

前端 未结 30 5000
梦谈多话
梦谈多话 2020-11-21 04:24

How do I add a library project (such as Sherlock ABS) to Android Studio?

(Not to the old ADT Eclipse-based bundle, but to the new Android Studio.)

30条回答
  •  不要未来只要你来
    2020-11-21 05:00

    First Way This is working for MacBook.

    First select your builder.gradle file as given screen:

    Add dependencies like as on the selected screen:

    Select sync project.

    If you are getting an error like "Project with path':signature-pad' could not be found in project ':app'", then please use the second way:

    Select menu File -> New -> Import Module...:

    After clicking on Import Module,

    give the path of library like as my MacBook path:

    Click on Finish. Now your library are added.

提交回复
热议问题