问题太简单了,直接解决办法: File > Settings > Build, Execution, Deployment > Compiler 删除Command-line-options里面的内容,重新gradle 感谢博主 欢迎留言指教!