Reputation: 65
I have an android app project that has code, assets, and layouts, that I'd like to make available in other apps.
The app project is in IntelliJ IDEA.
Question 1) How do I convert this project into an android library project?
Question 2) After converting, how do I import the library project into other app projects in IntelliJ?
Upvotes: 2
Views: 786
Reputation: 126563
Hi Evelyn check the docs:
Sharing Android Source Code and Resources Using Library Projects
Converting an Application module into a Library module
You can convert an Application module into a Library module by updating its Android facet.
Upvotes: 1