How can I add a “Library Project” in IntelliJ IDEA?

前端 未结 4 475
小蘑菇
小蘑菇 2020-12-03 03:06

I\'m using ActionBarSherlock in an Android project that I developed using Eclipse. I\'d like to migrate that project over to IntelliJ IDEA, but I\'m not sure how to add a \"

4条回答
  •  醉梦人生
    2020-12-03 03:34

    You need to create a new IDEA module from the existing source code. Ensure that Android facet is enabled for this module, in the facet settings you need to enable "Is Library Project" option. Then add this module as a dependency to your main module.

提交回复
热议问题