Android Studio tip — Exclude unwanted imports
2 min readSep 10, 2021
The auto-import functionality of Android Studio is often cluttered, presenting the user with imports for deprecated classes. For example, even though junit.framework.Assert
is deprecated, the IDE still provides it as a choice when auto-importing and auto-completing on assertEquals
: