From 2368114c24fc866aba67919a4d545a0af1bafb5c Mon Sep 17 00:00:00 2001 From: Yufeng Wang Date: Wed, 17 May 2023 09:25:24 -0700 Subject: [PATCH] Fix build error 2 files found with path 'META-INF/main.kotlin_module' (#26619) --- examples/android/CHIPTool/app/build.gradle | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/examples/android/CHIPTool/app/build.gradle b/examples/android/CHIPTool/app/build.gradle index 3150e344c91ab5..bdbd03ff48d822 100644 --- a/examples/android/CHIPTool/app/build.gradle +++ b/examples/android/CHIPTool/app/build.gradle @@ -40,6 +40,10 @@ android { targetCompatibility JavaVersion.VERSION_1_8 } + packagingOptions { + exclude 'META-INF/main.kotlin_module' + } + buildFeatures { viewBinding = true }