折腾:
【未解决】Win10中VMWare中macOS同步更新自动测试工具的环境
期间,需要去给VMWare中macOS中,搭建安卓开发环境。
至少确保adb等工具可用,以便于后续正常开发和测试。
所以先去:
【已解决】macOS中安装安卓开发工具adb
【后记】
折腾:
【未解决】macOS虚拟机中自动测试工具无法启动安卓游戏
期间,运行
cmd = 'aapt dump badging {}'.format(AppPath) lines = CommonUtils.get_cmd_lines(cmd)
报错了:
/bin/sh: aapt: command not found err=Command 'aapt dump badging /Users/crifanli/dev/DevRoot/appcrawler/task/20201014_fengyun_YongHengJiYuan/20201014_fengyun_YongHengJiYuan_gameApp/20201014_fengyun_YongHengJiYuan_gameApp_0.apk' returned non-zero exit status 127. when run cmd=aapt dump badging /Users/crifanli/dev/DevRoot/appcrawler/task/20201014_fengyun_YongHengJiYuan/20201014_fengyun_YongHengJiYuan_gameApp/20201014_fengyun_YongHengJiYuan_gameApp_0.apk
很明显是:macOS虚拟机中没安装aapt工具
所以再去找找,如何安装aapt:
【已解决】macOS中安装安卓开发工具aapt
至此,算是安装好了adb和aapt。