Ali Bdeir
Ali Bdeir

Reputation: 4375

I cannot rename a module in Android Studio

I have 2 modules:

app
library

I want to rename "library" to "XName" (for example)

I used the refactor method (Right click -> Refactor -> Rename) it works.

However, when I rebuild the project the module gets renamed back to "library".

How can I fix this problem?

Upvotes: 1

Views: 1514

Answers (1)

Sasi Kumar
Sasi Kumar

Reputation: 13358

Paste your module inside the library folder and rename it.we cant rename the library folder directly in android. for more details refer Create an Android Library

Upvotes: 1

Related Questions