Android Studio 1.2.2 Static import completion

I am trying to run a Suger ORM v1.4 sample in Android Studio 1.2.2 that uses static import!

Example:

import static com.orm.SugarRecord.save;

enter image description here

What I tried:

1> At first I tried to solve this Settings → Code Style → Java → Import In the middle of the panel there are "Packages for import" with the table "*". You can add an entry here with the full name of the class and mark the static field; Now all static methods in this class will be available for autocomplete.

Link: Ending IntelliJ Static Import

2> I tried to select and press Alt + Enter

enter image description here

Selecting Add on Demand Static Import also does not fix my problem!

Any help would be enjoyable!

Other resources I tried (failed):

Filling IntelliJ Static Import

"Organize Imports" Android Studio

+2
1

! 1.4v 1.3v gradle ! , !!

+1

All Articles