In Android Studio / Preferences / Gradle deselect work offline.
In CrimeLabTest delete unused imports.