0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Android アプリ名を開発環境と本番環境で変える方法

Last updated at Posted at 2024-03-24

アプリの名前をわかりやすいように開発環境と本番環境で変える方法です。

まずは、画像のようにresのvaluesで右クリックをして、画像のような選択をします。

スクリーンショット 2024-03-24 17.25.48.png

そして開発環境を選択します。
スクリーンショット 2024-03-24 17.26.00.png

今回は文字に対して行うので、stringsを入力します。

スクリーンショット 2024-03-24 17.26.18.png

そしたら

<string name="app_name">Dev</string>

のような感じでname="app_name"app_nameの箇所は本番で設定しているリソースのnameと同じにしてください。

以上でアプリ名を環境ごとに変更することができます。

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?