A
A
Anton Vertov2017-09-05 14:06:14
Unity
Anton Vertov, 2017-09-05 14:06:14

Where to put resource files?

Good day. I want my game on Unity to be called depending on the language of the phone system in different languages. It was recommended to create a values ​​resource folder , put the strings file there with the contents:

<?xml version="1.0" encoding="utf-8"?>
<resources>
    <string name="app_name">Name App With Some Language!</string>
</resources>

I have not tested it in different Android languages ​​yet, but when building, Unity gives an alert of the following form:

OBSOLETE - Providing Android resources in Assets/Plugins/Android/res is deprecated, please move your resources to an Android Library. See "Building Plugins for Android" section of the Manual.

As far as I understand, he asks to change the directories, since these are already outdated. I went to the manual and did not find where to move the files for this system to work normally. Tell me please. Thank you very much in advance .

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Daniil Basmanov, 2017-09-05
@1Frosty

You do not need to change the folder, but create a project in Android Studio and either build an aar file or copy the entire project to the plugins folder. Read the details in the manual .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question