minicap使用指南-创新互联

1.获取手机cpu

让客户满意是我们工作的目标,不断超越客户的期望值来自于我们对这个行业的热爱。我们立志把好的技术通过有效、简单的方式提供给客户,将通过不懈努力成为客户在信息化领域值得信任、有价值的长期合作伙伴,公司提供的服务项目有:国际域名空间、网站空间、营销软件、网站建设、江川网站维护、网站推广。

./adb -s emulator-5554 shell "getprop ro.product.cpu.abi | tr -d '\r'"

arm64-v8a

2.获取Android sdk版本

./adb -s emulator-5554 shell "getprop ro.build.version.sdk | tr -d '\r'"

25

3.根据cpu架构和sdk版本

下载minicap:

https://github.com/openstf/minicap/archive/v2.2.0.zip

4.将minicap推送到手机

./adb -s emulator-5554 push minicap /data/local/tmp

2378 KB/s (576032 bytes in 0.236s)

./adb -s emulator-5554 push minicap.so /data/local/tmp

1333 KB/s (18480 bytes in 0.013s)

5. 给minicap添加运行权限

./adb -s emulator-5554 shell chmod 0755 /data/local/tmp/minicap

6. 获取设备长宽

./adb -s emulator-5554 shell wm size

Physical size: 320x480

6.运行minicap

./adb -s emulator-5554 shell LD_LIBRARY_PATH=/data/local/tmp /data/local/tmp/minicap -P 1080x1920@1080x1920/0

7. 端口转发

./adb -s emulator-5554 forward tcp:1717 localabstract:minicap

另外有需要云服务器可以了解下创新互联scvps.cn,海内外云服务器15元起步,三天无理由+7*72小时售后在线,公司持有idc许可证,提供“云服务器、裸金属服务器、高防服务器、香港服务器、美国服务器、虚拟主机、免备案服务器”等云主机租用服务以及企业上云的综合解决方案,具有“安全稳定、简单易用、服务可用性高、性价比高”等特点与优势,专为企业上云打造定制,能够满足用户丰富、多元化的应用场景需求。


新闻名称:minicap使用指南-创新互联
分享路径:http://myzitong.com/article/csecce.html