首页 > 系统 > Android > 正文

Android 小问题汇总解决

2019-11-09 15:01:57
字体:
来源:转载
供稿:网友

1、adb shell后出现error解决方案

解决办法: 1、adb kill-server 2、adb start-server 3、adb remount 4、adb shell

2、遇到Read-only file system问题解决方案

问题描述: 在往scdcard中复制mp3文件时,复制不成功。查看了一下sdcard里面没有内容,且无法直接在里面创建文件会出现—— read only file system类似的内容提示。 解决方案: 第一步:adb shell 输入:mount -o remount ,rw / 接下来既可以在sdcard直接创建文件,还可以实现复制mp3等文件。

3、error opening trace file: No such file or directory (2)

error opening trace file: No such file or directory (2) 这个问题的出现因为Android模拟器版本和项目api不一致导致。 一般情况下是这个原因。改成一致的后就不出现这个错误了。

4、控件设置了invisible后控件不可见,但是保留了控件在界面上的空间,而设置为gone,则不保留控件占有的空间。

5、This version of the rendering library is more recent than your version of ADT plug-in. Please update

预览layout.xml文件时提示: This version of the rendering library is more recent than your version of ADT plug-in. Please update ADT plug-in 导致无法正常预览布局文件; 问题根源:SDK版本过高,ADT版本低。


发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表