Tag name should use a unique prefix followed by a colon

2019-06-25 15:08:02

Tag name should use a unique prefix followed by a colon (found liveTAG). For instance myapp:mywakelocktag. This will help with debugging less… (Ctrl+F1)

Wake Lock tags must follow the naming conventions defined in thePowerManager documentation. Issue id: InvalidWakeLockTag


意思就是 你的tag 名字要使用 app名:tag 的形式 比如:

在这里插入图片描述


  • 2020-01-03 00:36:00

    break和continue详解for循环

    1. break:直接跳出当前循环体(while、for、do while)或程序块(switch)。其中switch case执行时,一定会先进行匹配,匹配成功返回当前case的值,再根据是否有break,判断是否继续输出,或是跳出判断(可参考switch的介绍)。 2. continue:不再执行循环体中continue语句之后的代码,直接进行下一次循环。

  • 2020-01-04 08:14:56

    input上传图片,获取图片上传尺寸

    onchange触发,获取当前file对象(这里可以获取图片的大小、类型、修改时间等) reader去读取文件 塞到页面,获取图片的宽高 移出图片节点

  • 2020-01-04 08:19:28

    flex 布局子内容p元素被撑开

    父元素 flex 布局,子元素有一行文字,将其设置为不换行隐藏后显示省略号,但实际并不是想象的那样,而导致布局变形。改怎么办?