How to change the name of a project\'s root directory in Android Studio- 0.9.9.I read the other solution here but nothing works for me. I can change/refacto
My solution is:
.gradel
and .idea
Basically you can by changing the project's folder name and reopening it.
It is also recommended to change the name of the project in the Android Studio project structure by editing these files:
.idea/.name
[Name].iml
file in the project root directory.idea\modules.xml
rootProject.name
in the project root settings.gradle
To change the name of the project's root directory, the following worked for me: As the image bellow indicates, under the 'Project' tab,
go to setting.gradle
modify/include rootProject.name='put the name you want here'
Then go to build -> clean project
build -> rebuild project
This needs to be done manually. Can't understand why refactoring is not working.. Rename folder and then respective files
My sure shot answer is : To refactor the root name
a) Rename the folder
b) then please go in settings.gradle > just write rootProject.name = 'new name'
File->Close project
Change project root directory name
Delete .iml files (by searching for them using windows search then deleting them)
Delete .idea directory
Open the project