Is there any way/setting in Android Studio to report the unused imports in java files as error?
In Eclipse, lint reported this as error pretty easily.
Applies to Android Studio and IntelliJ
You could go to File/Settings
then browse to Editor/Inspections/Import.
Change Severity of Unused Import to Error