How to auto import the necessary classes in Android Studio with shortcut?

后端 未结 8 2176
抹茶落季
抹茶落季 2020-11-29 00:58

I\'ve just switch to Android Studio 0.5.1, and the things going so slow here, because nothing works in the regular way...

How do I import the necessary classes with

相关标签:
8条回答
  • 2020-11-29 01:19

    File -> Settings -> Keymap Change keymaps settings to your previous IDE to which you are familiar with

    enter image description here

    0 讨论(0)
  • 2020-11-29 01:20

    Go to File -> Settings -> Editor -> Auto Import -> Java and make the below things:

    Select Insert imports on paste value to All

    Do tick mark on Add unambigious imports on the fly option and "Optimize imports on the fly*

    Screenshot

    0 讨论(0)
提交回复
热议问题