问题
I'm trying to run Suger ORM v1.4 sample in Android Studio 1.2.2 that uses static imports!
Example:
import static com.orm.SugarRecord.save;

What I have tried:
1>First I have tried to solve by this Settings -> Code Style -> Java -> Imports In the middle of the pane is the "Packages to Use Import with '*'" table. You can add an entry here of a fully-qualified class name, and tick the static box; now all static methods in this class will be available for auto-completion.
Ref: IntelliJ Static Import Completion
2> I tried with selecting and pressing Alt+Enter

selecting Add on demand static import also doesn't resolves my problem !!
Any help would be greatful !!
other resources I have tried (failed):
IntelliJ Static Import Completion
How to fix "Organize Imports" in Android Studio for static imports
回答1:
Solved! My bad after creating the 1.4v library, forgot to remove old 1.3v gradle dependency!! it's as simple is that!!
来源:https://stackoverflow.com/questions/30888307/android-studio-1-2-2-static-import-completion