可能需要检查以下几个方面:
cd ~/android git checkout -b fix-issue android-11.0.0_r27 cp ~/path/to/file /path/to/file git add /path/to/file git commit -m "Add missing file" git checkout master git merge fix-issue git branch -d fix-issue
make: *** No rule to make target 'mytarget'. Stop.
则可以检查 Makefile 是否缺失以下规则:
mytarget: $(call …) # add your own rule here
在 Makefile 中添加该规则即可。
make: *** No rule to make target 'mytarget'. Stop.
可以检查该模块是否依赖于其他模块,在 Makefile 中添加正确的依