zoukankan      html  css  js  c++  java
  • Android报错:The processing instruction target matching "[xX][mM][lL]" is not allowed.

    报错!!!

    The processing instruction target matching "[xX][mM][lL]" is not allowed.

    Attention!!!那就说明~你的某个XML文件出错了!!!

    把眼睛放到第一行!!!

    <?xml version="1.0" encoding="utf-8"?>

    在这个门面的xml文件中,这个第一行,是存在的小坑,这也是我第一次遇到,还是怪自己太粗心啦!简直是bug maker [扶额][脑壳疼]。

    咳咳,跑题了,这个第一行有可能你在它的前面不小心多加了空格,就会引起它的不适,所以要注意惹,一般这行是会自行生成的,咱就不容易犯下这个过错。但就是那么巧,有可能咱在迁移项目UI的时候Ctrl + C 接着Ctrl + V的之前没有Ctrl + A,就会导致是在原始xml布局中间Ctrl + V了,就会多粘贴了 这部分头。

    而且,让它傲娇的是,它只允许自己被放在xml文件的NO.1,也就是第一行

    That`s all!

    The one who wants to wear the crown, bears the crown.
  • 相关阅读:
    qsort
    strcmp
    LotteryDrawing
    retire or not retire ? is a question.
    alloc && afree
    strlen
    c point
    c point ccccc
    MySQL MGR源码分析2
    MySQL MGR实现分析
  • 原文地址:https://www.cnblogs.com/catherineliu/p/13048597.html
Copyright © 2011-2022 走看看