No command 'mmm' found

问题:

编译android时 出现错误:

“No command 'mmm' found”

或 未找到 “'mmm' 命令”

No command 'mmm' found, did you mean:  
 Command 'mwm' from package 'motif-clients' (multiverse)  
 Command 'mwm' from package 'lesstif-bin' (universe)  
 Command 'mgm' from package 'mgm' (universe)  
 Command 'rmm' from package 'nmh' (universe)  
 Command 'rmm' from package 'mailutils-mh' (universe)  
 Command 'mmv' from package 'mmv' (universe)  
 Command 'mmd' from package 'mtools' (main)  
 Command 'mmg' from package 'mkvtoolnix-gui' (universe)  
 Command 'mm' from package 'mountmanager' (universe)  
 Command 'mm' from package 'multimail' (universe) 

未找到 'mmm' 命令,您要输入的是否是:
 命令 'mwm' 来自于包 'motif-clients' (multiverse)
 命令 'mwm' 来自于包 'lesstif-bin' (universe)
 命令 'mgm' 来自于包 'mgm' (universe)
 命令 'rmm' 来自于包 'nmh' (universe)
 命令 'rmm' 来自于包 'mailutils-mh' (universe)
 命令 'mmv' 来自于包 'mmv' (universe)
 命令 'mmd' 来自于包 'mtools' (main)
 命令 'mmg' 来自于包 'mkvtoolnix-gui' (universe)
 命令 'mma' 来自于包 'mma' (universe)
 命令 'mm' 来自于包 'mountmanager' (universe)
 命令 'mm' 来自于包 'multimail' (universe)

解决:

使用m、mm、mmm命令之前要在android源码目录下执行命令

. build/envsetup.sh

你可能感兴趣的:(源码,android,mm)