
do both "Rename directory" and "Rename module"Ĥ. right click module which want to change -> Refactor -> Renameģ.

switch Project view on the left in Android StudioĢ. follow step 1 - 2 and then rename the directory tooġ.

right click on the module whose name you want to change.In the project view on the left in Android Studio, Re-open your project in AS, and you will see your module and Gradle scripts re-appear under ATV! :)Ĭongratulations - your module has now been renamed! (whew, time for some tea) ( Your project will disappear from ATV, but don't worry, just exit AS)įrom a file manager (outside of Android Studio), open your project root directory, and rename the folder app to myApp You will be prompted to ' Sync Now', do it (the prompt is a blue link above the file) Right click the module name: app, Refactor -> Rename (to myApp, click ok) The following worked for me, tested in Android Studio (AS) 1.1 & 1.0.2, directly after importing a project. Enter the new name of the module, click OK.Right click the module -> Refactor -> Rename.Is this possible in Gradle project and how to do it? In this face I want to rename module Facebook1 to Facebook.

I picked the wrong name of a specific module which I imported to the Gradle project in Android Studio.
