Upon reopening Android Studio after an improper shutdown, my gradle project sync failed and many errors like: \"Failed to resolve: junit:junit:4.12\" started showing up in the E
From your first screenshot
Gradle is in offline mode, which means that it won't go to the network to resolve dependencies.
Go to Preferences > Gradle and uncheck "Offline work".
After that try cleaning the project and Re-running again?