I just installed Android Studio and wondering how I could create an Android Library project. The solution shared in this post does not work anymore.
Update: I am not sure if this is enough to create a library project, but this are the steps I have done:
- Create a normal Android Project without an Activity
- Change
apply plugin: 'com.android.application'
toapply plugin: 'com.android.library'
from build.gradle - Delete the line
applicationId "..."
from build.gradle
If you would like to create a library as part of an application project, you could follow these steps based on this post:
- Go to File > New > New Module
- In the Create New Module window that appears, click Android Library
- Click Next
- Select a name and minimum SDK
- Click Finish