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

后端 未结 10 2142
礼貌的吻别
礼貌的吻别 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:06

    I faced the same error when I created assets folder inside app/src/main/res/

    We shouldn't create folders anywhere at our will. To create new folders, make sure that you go to
    File -> Folder and consequently ,choose one of the folders among the options displayed. This way the IDE creates the folder at appropriate locations and thus accessing them doesn't raise any errors.

提交回复
热议问题