エラーの内容の詳細を見ると次のようになっています。 All com.android.support libraries must use the exact same version specification (mixing versions can lead to runtime crashes). Found versions 27.1.0, 26.1.0. Examples include com.android. support:animated-vector-drawable:27.1.0 and com.android.support:support-media-compat:26.1.0. There are some combinations of libraries, or tools and libraries, that are incompatible, or can lead to bugs. One such incompatibility is compiling with a version of the Android support libraries that is not the latest version (or in particular, a version lower than your targetSdkVersion). すべてのcom.android.supportライブラリは、まったく同じバージョン仕様を使用する必要があります (バージョンを混在させるとランタイムクラッシュにつながる可能性があります)。 バージョン27.1.0、26.1.0が見つかりました。 例にはcom.androidがあります。 サポート:アニメーションベクタ描画可能:27.1.0、com.android.support:support-media-compat:26.1.0。 互換性がない、またはバグにつながるライブラリやツールやライブラリの組み合わせがいくつかあります。 このような非互換性の1つは、Androidサポートライブラリの最新バージョン(または特にtargetSdkVersionよりも低いバージョン)ではないバージョンのAndroidサポートライブラリでコンパイルされています。