I want to change the project name in Android Studio. I have found some answers on Stackoverflow but it didn't work for me. Please suggest me some suitable solution.Currently I'm using Android Studio 2.3.
Thanks always :)
You need to perform a few steps
This did the trick for me:
Check this: https://stackoverflow.com/a/28324892/4161284
Perform the following Steps :
Step 1 - Rename:
Step 2 - Update app name in String file:
What helps for me is:
Note: There might be a .iml
file with the old name. It can be renamed if you want the project to be completely clean.
Below strategy worked for me:
If settings.gradle contains the below line, change it to the new project name or remove it
rootProject.name = 'Your project name'
Clean the project and Build it
thanks
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.