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

groovy - Grails 2.0 plans for arbitrary .gsp pipelining? -

linux - Why do the 32-bit and 64-bit Compiled Versions of this Program Populate Memory in this Way? -

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