IllegalStateException: Expected configuration ':module:debugFeatureCompileClasspath' to contain exactly one file, however, it contains 2 files
I am working with multi feature android application with instant app and wear app.Here i am able to successfully run my application but getting following error during building APK or rebuild projects . java.lang.IllegalStateException: Expected configuration ':module1:debugFeatureCompileClasspath' to contain exactly one file, however, it contains 2 files. at org.gradle.api.internal.file.AbstractFileCollection.getSingleFile(AbstractFileCollection.java:62) at com.android.build.gradle.tasks.MergeManifests.doFullTaskAction(MergeManifests.java:116) at com.android.build.gradle.internal.tasks