Imported an eclipse project into Android Studio and saved it in a new folder. Changed the package name and everything to new names but the Project\'s name is still the one from
android:label="@string/app_name"
When you want to change only the name of the application to enter src->main->res->values->strings.xml and change the name to the new
change rootProject.name in settings.gradle file
settings.gradle
rootProject.name = 'NewAppName'
Android Studio's Refactor will help you. Just click rename your project with refactoring
Try to change app_name string in strings.xml
<string name="app_name">My Application</string>
You can try something like this in your settings.gradle
file:
rootProject.name = "YOUR_PROJECT_NAME"
After restarting of Android Studio it will also change text in title bar to YOUR_PROJECT_NAME
.
Tested on Android Studio 2.2 RC2