Android Studio自动导入包设置

     Android Studio有两种导入包的方式:手动导入、设置自动导入;

手动导入:

    使用快捷键Alt+Enter;

自动导入设置:

    File -> Settings -> Editor -> General -> Auto Import ->勾选“Add unambiguous imports on
the fly”->Apply;


猜你喜欢

转载自blog.csdn.net/niuba123456/article/details/81049718