How do I add a library project to Android Studio?

前端 未结 30 3996
梦谈多话
梦谈多话 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 04:48

    You can do this easily. Go to menu File -> New -> Import Module...:

    Browse for the directory which contains the module. Click Finish:

    Go to Project Structure and add Module Dependency:

    Note: If you receive an SDK error, update that one.

提交回复
热议问题