facebook twitter hatena line email

Unity/多言語化/Androidのアプリ名

提供: 初心者エンジニアの簡易メモ
2022年8月17日 (水) 03:17時点におけるAdmin (トーク | 投稿記録)による版 (Assets/Plugins/Android/res was removedエラーが出る問題)

移動: 案内検索

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,

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