AndroidStudio自动导包、自动删除无用包

找到File-Settings-然后直接在搜索框搜索 General 找到Auto Import选项, 然后选中Optimizes imports on the fly,和Add unambiguous imports on the fly 就OK了,如下图:
相关文章
相关标签/搜索