Android下的一些命令

下载好Android源码,设置好环境变量后(. build/envsetup.sh或source build/envsetup.sh),便可以使用Android集成的shell命令,如下:

  croot  回到Android源码的根目录

  m    Makes from the top of the tree

  mm    编译当前目录的所有模块

  mmm  Builds all of the modules in the supplied directories

  cgrep  Greps on all local C/C++ files

  jgrep  Greps on all local Java files

  resgrep  Greps on all local res/*.xml files

  godir   Go to the directory containing a file

猜你喜欢

转载自www.cnblogs.com/chen-cai/p/9560866.html