This did the trick for me:
- Close android studio
- Change project root directory name
- Open android studio
- Open the project(not from local history but by browsing to it)
- Clean project
If your settings.gradle
contain the below line, either delete it or update it to the new name.
rootProject.name = 'Your project name'
Edit:
Working in all versions! Last test: Android 3.2.1 Jan 2019
.idea
folder is modified everytime the root folder name changed. It's better not to touch to.idea
folder's content. – Yen NQ Apr 9 '15 at 2:46app_name
? – n00dles Apr 9 at 19:58