0
0

Android ビルドタイプによってアプリケーションIDを変える方法

Posted at

ビルドタイプによってアプリケーションIDを変える方法です。

buildTypesの設定したいビルドタイプに対してapplicationIdSuffixの設定をします。

build.gradle
debug {
    applicationIdSuffix = ".debug"
}

applicationIdSuffixに設定した値が後ろに追加されます。
今回の場合は、.debugが後ろに設定されます。

公式リファレンス

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0