android emulator 获取 Root 权限

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/guolongpu/article/details/85008024

参考:https://blog.csdn.net/luvsnow/article/details/79963025  在2018.4的博文,搜索时排在前面,我尝试了一下。

浪费将近1小时,下载,按步骤,等;些方法是如此之差。其实有更简单的方法!

看我的文章:笨方法,原本简单的方法,被你搞复杂了。参考:https://blog.csdn.net/guolongpu/article/details/85008024

 

简单快捷的方法。

  1. 打开模拟器,在AndroidStudio内的终端上运行命令
  2. $adb  root
  3. $adb  remount
  4. 显示:remount succeeded ,就可以。此时你进入就相当于ROOT了。
  5. $adb  shell

            显示:generic_x86:/ #

此时你可以尝试:ls  -s  data/data/

猜你喜欢

转载自blog.csdn.net/guolongpu/article/details/85008024