参考:[问题] Could not find method compile() for arguments [directory ‘libs’]的两种情况汇总https://blog.csdn....