Android Studio使用技巧之自动引入代码中所需要的包

步骤: File --> Settings --> Editor --> General --> Auto Import 勾上选项: Add unambiguous imports on the fly (快速导入明确的引用的包名) Optimize imports on the fly(for current project) (即使优化引用的包名(去掉无使用的包名))
相关文章
相关标签/搜索