You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description: When I use material-components-android 1.8.0 and AppCompat 1.6.1, I will get the following proguard error:
Warning: com.google.android.material.shadow.ShadowDrawableWrapper: can't find superclass or interface androidx.appcompat.graphics.drawable.DrawableWrapper
Warning: com.google.android.material.shadow.ShadowDrawableWrapper: can't find referenced class androidx.appcompat.graphics.drawable.DrawableWrapper
Warning: com.google.android.material.shadow.ShadowDrawableWrapper: can't find referenced class androidx.appcompat.graphics.drawable.DrawableWrapper
Warning: com.google.android.material.shadow.ShadowDrawableWrapper: can't find referenced method 'android.graphics.drawable.Drawable getWrappedDrawable()' in program class com.google.android.material.shadow.ShadowDrawableWrapper
Warning: com.google.android.material.shadow.ShadowDrawableWrapper: can't find referenced method 'android.graphics.Rect getBounds()' in program class com.google.android.material.shadow.ShadowDrawableWrapper
Warning: com.google.android.material.shadow.ShadowDrawableWrapper: can't find referenced class androidx.appcompat.graphics.drawable.DrawableWrapper
Warning: com.google.android.material.shadow.ShadowDrawableWrapper: can't find referenced method 'void invalidateSelf()' in program class com.google.android.material.shadow.ShadowDrawableWrapper
Warning: com.google.android.material.shadow.ShadowDrawableWrapper: can't find referenced class androidx.appcompat.graphics.drawable.DrawableWrapperUse --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
Warning: com.google.android.material.shadow.ShadowDrawableWrapper: can't find superclass or interface androidx.appcompat.graphics.drawable.DrawableWrapper
Warning: com.google.android.material.shadow.ShadowDrawableWrapper: can't find referenced class androidx.appcompat.graphics.drawable.DrawableWrapper
Warning: com.google.android.material.shadow.ShadowDrawableWrapper: can't find referenced class androidx.appcompat.graphics.drawable.DrawableWrapper
Warning: com.google.android.material.shadow.ShadowDrawableWrapper: can't find referenced method 'android.graphics.drawable.Drawable getWrappedDrawable()' in program class com.google.android.material.shadow.ShadowDrawableWrapper
Warning: com.google.android.material.shadow.ShadowDrawableWrapper: can't find referenced method 'android.graphics.Rect getBounds()' in program class com.google.android.material.shadow.ShadowDrawableWrapper
Warning: com.google.android.material.shadow.ShadowDrawableWrapper: can't find referenced class androidx.appcompat.graphics.drawable.DrawableWrapper
Warning: com.google.android.material.shadow.ShadowDrawableWrapper: can't find referenced method 'void invalidateSelf()' in program class com.google.android.material.shadow.ShadowDrawableWrapper
Warning: com.google.android.material.shadow.ShadowDrawableWrapper: can't find referenced class androidx.appcompat.graphics.drawable.DrawableWrapper
I believe the error is that material-components-android currently depends on DrawableWrapper from AppCompat:
Description: When I use material-components-android
1.8.0
and AppCompat1.6.1
, I will get the following proguard error:I believe the error is that material-components-android currently depends on
DrawableWrapper
from AppCompat:material-components-android/lib/java/com/google/android/material/shadow/ShadowDrawableWrapper.java
Line 43 in d1d1165
However, in AppCompat 1.6.1, it seems like the
DrawableWrapper
class was removed and renamed toDrawableWrapperCompat
: https://cs.android.com/androidx/platform/frameworks/support/+/de70044326e54d6a50f0745f481bd46927cb777aTherefore I think the solution here would be to update material-components-android to depend on AppCompat
1.6.1
andDrawableWrapperCompat
.The text was updated successfully, but these errors were encountered: