xml - Eclipse / Android raw txt file error (Content is not allowed in prolog) -



xml - Eclipse / Android raw txt file error (Content is not allowed in prolog) -

i need place raw *.txt file in android-project read , output general terms , conditions in dialog. however, eclipse shows, .txt file contains errors (see title). it's not xml file , should treated raw file. why error?!?! how can prepare it?

thanks in advance.

solved:

eclipse restarting not help. creating file eclipse 'new file'-wizard on raw folder helps. it's kind of bug.

dont: create file in folder , set in res/raw folder afterwards. eclipse doesn't recognize file has been move folder problems should ignored. alittle buggy tho.

it sounds interpreting xml file; in res/raw or assets/ ? non-xml resources should set in 1 of 2 project directories.

android xml eclipse text-files

Comments

Popular posts from this blog

c# - Code indenting specified at project/solution level rather than global -

How to merge code and resolve conflicts more easily using git? -

uitableview - How to load table with some default image till it get the original image from internet iPhone? -