Create a library module Click File > New > New Module. In the Create New Module dialog that appears, click Android Library, then click Next. ... Give your library a name and select a minimum SDK version for the code in the library, then click Finish.