1.android error : unbound prefixy
(1)有可能是没导入lib工程里的相关文件。 xmlns:tv=http://schemas.android.com/apk/res-auto(2)XML布局文件中的标签前缀存在拼写错误。
(3)XML布局文件的根节点缺少 xmlns:android="http://schemas.android.com/apk/res/android"
2.adb的一些涉及到盒子截图以及录制的命令写法:
(1)adb shell system/bin/screencap -p /sdcard/screenshot.png 截图保存在android 设备的sdcard目录。
(2)adb pull /sdcard/screenshot.png d:\\xx.png 将截图挪到电脑
(3)录制命令:adb shell screenrecord --time-limit 10 /sdcard/demo.mp4
(2)adb pull /sdcard/screenshot.png d:\\xx.png 将截图挪到电脑
(3)录制命令:adb shell screenrecord --time-limit 10 /sdcard/demo.mp4
3.数据库操作以及各种耗时操作不要写在UI线程里面。
4.URL中如果有空格的话,要用%20来进行编码转义处理。
5.Entropic EN7588平台shell下开启adb的方法 system/bin/ ./start adbd
6.打印某个tag的log,logcat -s "TAG"
7.如果Android工程里面有SystemProperties.set(“persist.sys.tag”“value”)的代码,可以在shell下用getprop persist.sys.tag 打印出这个值。
8.a
db shell am force-stop + 包名 即可停止运行某应用
如有更新,以后会继续添加到这里,做个记录。
9.在编辑 string.xml 文件的时候,字符之间的空格用 Space 键是能显示出效果的的,但是字符后面如果需要添加空格,直接 Space 键是不管用的,此时 空格应该用  来表示;
10..解决32位eclipse或者hitools无法启动的问题:
1安装32位jdk,
2在eclipse.ini或者hitools.ini中添加如下代码即可运行。
-vmargsC:\Program Files (x86)\Java\jdk1.8.0_73