File–>Settings–>Editor–>General–>Auto Import
勾选Optimizes imports on the fly
勾选Add unambiguous imports on the fly
【Android studio】AS实现自动导包
猜你喜欢
转载自blog.csdn.net/qq_42595835/article/details/98193678
今日推荐
周排行