执行
$:development/tools/idegen/idegen.sh
Couldn't find host out directory. Make sure ANDROID_HOST_OUT is
$:~/rom-space$ export ANDROID_HOST_OUT=out/host/
$:~/rom-space$ development/tools/idegen/idegen.sh
Read excludes: 3ms
Traversed tree: 16592ms
$:~/rom-space$
https://forum.xda-developers.com/android/help/importing-cm-apps-to-intellij-t3356134