LoginSignup
0
0

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

Posted at

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

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

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

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

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

スクリーンショット 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