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

后端 未结 10 2128
礼貌的吻别
礼貌的吻别 2020-11-27 08:23

I use latest Android Studio 0.8.4 (for OS X), in \"res\" directory I create new \"database\" directory and put there all files what I need and when I try to compile I receiv

10条回答
  •  轮回少年
    2020-11-27 09:02

    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()).

提交回复
热议问题