I updated the AndroidStudio to version 3.1
Clean Project...
and build failed
The SourceSet \'instrumentTest\' is not recognized by the Androi
Try with the Android Studio 3.1.2 update, which has a fix for this bug: https://developer.android.com/studio/releases/index.html#3-1-0