Android App Crashing when creating Array XML Document

Spuctumma

New Member
There is nothing in the program trying to reference an array yet. I can create the array.xml file in the values folder without effecting how the program runs, but as soon as i add a string-array (without any items), the program crashes on load. Im so confused with what to do. Here is what the xml looks like:\[code\]<?xml version="1.0" encoding="utf-8"?><resources><string-array name="language"> <item>English</item> <item>German</item> <item>Russian</item> <item>Italian</item></string-array></resources>\[/code\]as soon as i delete this xml, the program runs fine. I tried using different array names and values, i tried doing an Integer array and it does not help.
Untitled_zpsfb606925.png
 
Back
Top