How to auto import missing class in the latest android studio? -


i following basic tutorials in android developer official site. , there's part cant work.

the instruction said if want import missing class use alt + enter on top part of class.

when wont import missing classes. instead viewing create test option only.

i'm new in android development hope can me.

auto import work if missing class in question underlined. if see class in red, click on screen somewhere close class adjust cursor position , try alt + enter once class name underlined.

another option auto complete when typing class name (which can accomplished via enter or tab, sorry muscle memory makes me forget which...) automatically import appropriate class.

if using third party library , isn't appearing properly, make sure add compile statement library in gradle build file.


Comments

Popular posts from this blog

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

Enable autocomplete or intellisense in Atom editor for PHP -