adb push失败解决办法

adb push xxx.so /vendor/lib64/ 失败?
原因1:可能是没有权限写入,那么执行adb root试下?
原因2:可能有root权限,但文件系统是readonly的,有写保护机制阻止修改系统库,执行adb shell setenforce 0,关闭文件系统保护;
原因3:可能是没有重新挂载导致的文件写入失败,需要执行adb remount后再执行adb push命令;

原文地址:https://www.cnblogs.com/thisisajoke/p/12800329.html