From bc7d1ecdf2fd63df289f634cc299a34602420d4b Mon Sep 17 00:00:00 2001 From: Littlegnal <8847263+littleGnAl@users.noreply.github.com> Date: Wed, 16 Oct 2024 18:02:34 +0800 Subject: [PATCH] fix: Suppress R8 missing class com.google.devtools.*.ThrowableExtension for AGP 8.x (#2050) Suppress `ERROR: R8: Missing class com.google.devtools.build.android.desugar.runtime.ThrowableExtension` when running with AGP 8.x The Android Native SDK has caught this error internally, so we're safe to suppress this error. Fix failed job https://github.com/AgoraIO-Extensions/Agora-Flutter-SDK/actions/runs/11359234733/job/31595029855?pr=2049 --- android/consumer-rules.pro | 2 ++ 1 file changed, 2 insertions(+) diff --git a/android/consumer-rules.pro b/android/consumer-rules.pro index b5b59752e..19fd0a459 100644 --- a/android/consumer-rules.pro +++ b/android/consumer-rules.pro @@ -3,3 +3,5 @@ -keep class org.jetbrains.** { *; } -keep class io.agora.**{*;} +# Suppress ERROR: R8: Missing class com.google.devtools.build.android.desugar.runtime.ThrowableExtension +-dontwarn com.google.devtools.build.android.desugar.runtime.ThrowableExtension