2

I usually code games that the boss hasn't decided its name yet, and he usually gives the name once it is finished. However, when I rename all old name to new name, many issue happens.

For example: when starting a project, I set application name to abc, package name to com.company.abc, then the given game name is def, how can I change all the related to new name, without forget anywhere?

Luke Vo
  • 17,859
  • 21
  • 105
  • 181

2 Answers2

4

What I do in such a situation is rename the package that will automatically change the references and for changing the app name you should change

res> values> strings> app_name 

to the name what you want

ingsaurabh
  • 15,249
  • 7
  • 52
  • 81
  • Wow, I didn't know `app_name` is an "official" name of the application. I thought it is simply a string using for coder. Thank you. – Luke Vo Sep 05 '11 at 08:09
2

Application has two components: 1. Packages 2. Application

To change the package name: Right click on the application, click on android tools in the list, click on rename application package option. This should change your application package name .

To change the application name: App name can be changed by changing the app_name in the strings of your resource folder.

Pavankumar Vijapur
  • 1,196
  • 2
  • 10
  • 15