效率 :tools:Android tapas, croot, m, mm, mmm, mma...cgrep, ggrep, jgrep, godir

本文介绍了Android开发中提高效率的一些命令工具,如croot、mm、mma等,这些工具能帮助开发者快速导航和操作Android源码。通过学习和使用这些命令,可以显著提升开发者的生产力。
摘要由CSDN通过智能技术生成

今天看到身边的同事在使用croot命令,可以直接跳转到Android根目录,遂产生了好奇,这可是我实际开发中的一个痛点啊,还是孤陋寡闻了。赶紧的,研究研究~

在Android源码根目录执行完 source build/envsetup.sh 命令后,在当前目录在执行hmm命令可查看到该source命令新增的一系列命令工具,这些工具可以大大提高我们在Android代码上的开发效率,还发现Android高版本比低版本新增了些命令,看来Android也一直为工程师的开发效率操心那,强烈推荐~

calm.xia@shand09[17:53:11]:~/10_automotive$ hmm

Run "m help" for help with the build system itself.

Invoke ". build/envsetup.sh" from your shell to add the following functions to your environment:
- lunch:      lunch <product_name>-<build_variant>
              Selects <product_name> as the product to build, and <build_variant> as the variant to
              build, and stores those selections in the environment to be read by subsequent
              invocations of 'm' etc.
- tapas:      tapas [<App1> <App2> ...] [arm|x86|mips|arm64|x86_64|mips6
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值