「Unity/多言語化/Androidのアプリ名」の版間の差分

提供: 初心者エンジニアの簡易メモ
ナビゲーションに移動 検索に移動
13行目: 13行目:


#res内のmetaを削除して、
#res内のmetaを削除して、
#resをzip化して、res.arrへリネーム
#resをzip化して、res.arrへリネームしたが、
 
Failed to transform res-.aar (:res:) to match attributes {artifactType=android-classes-jar,
 
エラーになったので、未解決・・

2022年8月16日 (火) 18:17時点における版

Androidのアプリタイトルの多言語化対応方法

Assets/Plugins/Android/res/values-ja/strings.xml

<?xml version="1.0" encoding="utf-8"?>
<resources>
    <string name="app_name">タイトル1</string>
</resources>

Assets/Plugins/Android/res was removedエラーが出る問題

エラー詳細

Providing Android resources in Assets/Plugins/Android/res was removed, please move your resources to an AAR or an Android Library. See "AAR plug-ins and Android Libraries" section of the Manual for more details.
  1. res内のmetaを削除して、
  2. resをzip化して、res.arrへリネームしたが、
Failed to transform res-.aar (:res:) to match attributes {artifactType=android-classes-jar,

エラーになったので、未解決・・