File -> Settings -> Editor -> General -> Auto Import -> Optimize imports on the fly(取消勾选) -> Apply ->OK