Skip to content

Instantly share code, notes, and snippets.

@falkorichter
Last active August 29, 2015 14:17
Show Gist options
  • Save falkorichter/e85564df965f6f5dce7d to your computer and use it in GitHub Desktop.
Save falkorichter/e85564df965f6f5dce7d to your computer and use it in GitHub Desktop.
custom name for debug buildType
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<application
android:label="${applicationLabel}">
<activity
android:label="${applicationLabel}">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
android {
defaultConfig {
manifestPlaceholders = [ applicationLabel:"@string/app_name"]
}
buildTypes {
debug {
applicationIdSuffix ".debug"
manifestPlaceholders = [ applicationLabel:"MyApp Debug"]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment