欢迎和大家交流技术相关问题: 邮箱: jiangxinnju@163.com 博客园地址: http://www.cnblogs.com/jiangxinnju GitHub地址: https://github.com/jiangxincode 知乎地址: https://www.zhihu.com/people/jiangxinnju 出现Read-only file system问题,不是因为文件或者文件夹的权限不对,而是要push的目录对应的分区是以只读方式挂载的,网上给出的解决办法是重新…
首先使用USB连接电脑与小机,然后安装adb相应的驱动,这是第一步,也是必须要做的. 进入doc系统后,敲入adb shell  可以进入linux命令行状态,说明adb可以使用了. 回到标题,我们现在要讲的是adb push命令的使用.如果你的linux也安装有adb命令的话,可以使用adb --help查看一下adb是如何使用的.我这里挑选一条来分析: adb push <local> <remote>    - copy file/dir to device 这就是adb p…
转载自:https://blog.lowstz.org/posts/2011/11/23/why-git-push-require-username-password-github/ 之前开始用github时是在ubuntu下按着官方的新手指南搞定的.但最近一直在用fedora,所以也想在fedora下用github,配置的时候很顺利,就是在git push的每次都需要输入username和password,而我是配置好公钥登陆的.用ssh -T git@github.com 也是成功用公钥登陆…
我这里故意放了一个超过100M的文件 后续,git add ,git commit 然后,git push 此时会发现出现了错误.如果,我们再这里直接在文件系统中删除这个大的文件,然后再次提交,会发现这个问题并未得到解决. 原因在于我们并没有将上次的提交操作撤回. 输入git log,找到上次提交的前面一次提交ID 它的上一次提交ID如下: 执行git reset --soft commit id 再进行git pull合并一下版本 执行git rm -f 大文件 再就是git add,git…
不知道什么原因,在kali rolling安装open-vm-tools时报以下错误: Failed to get unit file state for run-vmblockx2dfuse.mount: No such file or directory run-vmblock\x2dfuse.mount is a disabled or a static unit, not starting it. 我之后搜到这早被国外列为bug: https://bugs.launchpad.net/u…
由于安卓真机本地调试时,每次启动并生成apk然后安装到设备比较费时,而很多情况是仅仅修改了hot 脚本文件(cocos2dx + lua). 所以,使用热更机制把修改后的lua文件push到热更目录(writeablepath),然后退出已安装过的游戏包重新进入游戏即可测试新的lua脚本. 但是adb push时遇到权限问题: 1️⃣No such file or directory.. 2️⃣permission denied 百度查了下然并卵,stackoverflow是个万能的网站,然后a…
一.定义抽象类及子类,WebMethod实际返回子类参数 //使用XmlInclude解决WebService调用时无法识别子类的异常 [System.Xml.Serialization.XmlInclude(typeof(WageEmploeyee)), System.Xml.Serialization.XmlInclude(typeof(Boss))] public abstract class EmployeeData { //Required by XmlSerializer publi…
原文网址:http://blog.csdn.net/whu_zhangmin/article/details/25364349 手机连接PC后 adb shell su rm -r /system/app/Launcher2.apk 提示:rm failed for /system/app/Launcher2.apk, Read-only file system 解决方法: mount -o remount rw  /system 也就是将/system分区重新挂载为可读写分区 如果操作完后想恢…
今天用CMD命令进行adb logcat时显示一堆的乱码,乱码如下: C:\Users\Administrator>adb logcat -s logcat --------- beginning of /dev/log/system --------- beginning of /dev/log/main D/logcat (10387): Group1 onInterceptTouchEvent瑙﹀彂浜嬩欢锛欰CTION_DOWN D/logcat (10387): Group2 onInt…
问题 github push时在输入账号密码后仍提示:Username for 'https://github.com',需要进一步输入账号密码. 解决方案 注意这里的账号密码并不是github的登录账号密码. Username是指完整的邮箱地址 Password是指Personal access tokens,具体获取步骤如下所示:…