进行点击android studio菜单中file的选项菜单。

  1. 弹出了下拉菜单中进行选择为“settings”的选项。

  2. 进入到settings的选型中之后,进行选择为”editor“的选项。

  3. 进入到了editor的选项之后进行右边中的“general”的选项。

  4. 然后进行选择为auto import的选项即可。

  5. 然后勾选上optimize imports on the fly和add unambiguous imports on the fly的选项即可。

results matching ""

    No results matching ""