The SourceSet 'instrumentTest' is not recognized by the Android Gradle Plugin
I updated the AndroidStudio to version 3.1 Clean Project... and build failed The SourceSet 'instrumentTest' is not recognized by the Android Gradle Plugin. Perhaps you misspelled something? However, the 3.0.1 version of AndroidStudio does not have this problem Detailed log: org.gradle.api.ProjectConfigurationException: A problem occurred configuring project ':ios_dialog_lib'. at org.gradle.configuration.project.LifecycleProjectEvaluator.addConfigurationFailure(LifecycleProjectEvaluator.java:94) at org.gradle.configuration.project.LifecycleProjectEvaluator.notifyAfterEvaluate