1

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?

Ali Bdeir
  • 4,151
  • 10
  • 57
  • 117
  • Take a look at this post. [Renaming module](http://stackoverflow.com/questions/26936812/renaming-modules-in-android-studio) – TheTechWolf Dec 23 '16 at 08:57
  • @Vuksa I've tried all of those. The only option is to do it manually, which I am going to do, but I will leave this post to see if anyone can get past this bug – Ali Bdeir Dec 23 '16 at 08:59

1 Answers1

1

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

sasikumar
  • 12,540
  • 3
  • 28
  • 48
  • I know that option and I will do it. But I'm keeping this question so if anyone finds a workaround, they can post it here. – Ali Bdeir Dec 23 '16 at 09:00