随笔分类 - android-problems及调试
摘要:报错原因:在一个类中写了一个public String getContent()方法和一个main()方法,getContent()方法中包含了getClass()方法,在main()方法中直接调用了getContent()就出现如题的错误。这样一样解决方法:先实例化类,然后再调用getConten...
阅读全文
摘要:操作设备文件系统上的文件结果遇到"... Read-only file system"。解决办法:1. 最简单的,adb remount2. 不行的话,adb shell su之后将文件系统remount为读写权限:mount -o remount rw /system。出于安全考虑,记得完事后re...
阅读全文