Android debug buildType with custom name

If you develop Android apps, you propably have your debug, staging and release version installed on your phone. Here is an easy way to change the application Label, the launcher label.

Insert the placeholder ${applicationLabel} in your manifest and define the set the placeholder in your build.gradle file:

These placeholders seem like an awesome tool. Other placeholder features that were added over time:

AndroidManifest files in Library project can now include placeholders. If they cannot be resolved in the libraries, they’ll be resolved in the consuming project.
AndroidManifest placeholder can now be setup on Product Flavors and Build Types.

Check the updates on the Android gradle site for other details.


Kommentare sind geschlossen.