Cannot resolve symbol ‘AndroidJUnit4’

Make sure your app in debug build variant. Go to Build > Select Build Variant… and the following should show up:

enter image description here

Leave a Comment