设置自动编译项目

    Android Studio —> Preferences… —> 搜索Compiler —> 勾选Make project automatically