After upgrading to Android Studio 3.0 Canary 5 I started getting:
Error:Could not get unknown property ‘manifestOutputFile’ for task ‘:app:processDebugManifest’ of type com.android.build.gradle.tasks.MergeManifests.
The error goes away if I comment out the line
apply plugin: ‘io.sentry.android.gradle’
Please have a look.