Android studio compile error “Content is not allowed in prolog”

in “res” directory I create new “database” directory

That is not supported. You cannot invent new resource directories.

Please put the files in res/raw/ (and use via getResources().openRawResource()) or assets/ (and use via getAssets().open()).

Leave a Comment