Jaume
Jaume

Reputation: 3780

android language localization

I properly set languages and folders for es, en, it and fr. Now I need to set values folder for catalan and I did it as "values-ca-rES". However, eclipse creates a file called strings.out.xml and generates an error. What I am missing? thank you

Upvotes: 1

Views: 134

Answers (4)

Neal
Neal

Reputation: 379

This error comes when we run XML file.. delete the main.out. file (from left side). click on corresponding java file and run it.Now it will work properly.. Note: always run Java file.

Upvotes: 0

Ankitkumar Makwana
Ankitkumar Makwana

Reputation: 3485

i have facing same issue

It is a bug in eclipse, you should run your application from the Java files instead of xml.

Just delete the .out file, and try running again.

Upvotes: 0

In Eclipse when you click icon Run then it will ran the file which you have selected in Package Explorer.

enter image description here

Just delete "strings.out.xml" and be assure you have clicked your Root Folder(Project Name) from Package Explorer while running the App.

You are Running Project with selection of String.xml like this

enter image description here

So just make your selection to the Root Folder(SimpleDemo in my case). enter image description here

Upvotes: 1

Korhan Ozturk
Korhan Ozturk

Reputation: 11308

*.out.xml files are automatically generated by Eclipse when someone tries to run an application through an XML file.

Make sure that you delete the generated out.xml files from project directory and run your app after choosing a .java file.

Upvotes: 0

Related Questions