|
本帖最后由 zhouruixi 于 2017-5-9 20:11 编辑
windows下adb无法tab补全,身边没有多余的linux计算机,想用刷了op的路由器对手机进行adb调试。利用win10 RS1 的linux子系统可以实现像linux下使用adb一样,很是方便!LEDE官方已经提供ADB了
靠别人不如靠自己,google了半天,各种尝试,终于用最新trunk的SDK编译出了adb_android.5.0.2_r1-1_ar71xx.ipk,装上之后顺利调试魅族PRO5.
具体操作如下
wget "https://downloads.openwrt.org/snapshots/trunk/最新的SDK"
tar xjf OpenWrt-SDK-*.tar.bz2
cd OpenWrt-SDK-*/package/
mkdir -p adb
cd adb/
wget "https://gist.githubusercontent.com/swiftgeek/05d22fd75329685a47fc/raw/08e87308c5a33e91ac15b38c8d2ca89324c62bff/Makefile"
wget "https://gist.githubusercontent.com/swiftgeek/05d22fd75329685a47fc/raw/08e87308c5a33e91ac15b38c8d2ca89324c62bff/adbMakefile"
cd ../../
./scripts/feeds update -a
./scripts/feeds install libopenssl
挂上代理make V=s
Makefile在这里:https://gist.github.com/swiftgeek/05d22fd75329685a47fc
主要参考:https://forum.openwrt.org/viewtopic.php?id=52720
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?立即注册
×
|