rey5137/material

i have problem with proguard

imaNNeo opened this issue ยท 12 comments

i added this rule on my proguard-rulse.pro
-dontwarn com.rey.material.**

and then i got this error when i tried to make a release version :

Warning:Exception while processing task java.io.IOException: java.lang.IllegalArgumentException: Can't find common super class of [com/rey/material/widget/ListPopupWindow$DropDownListView] (with 2 known super classes) and [android/view/View] (with 2 known super classes)

Error:Execution failed for task ':app:transformClassesAndResourcesWithProguardForRelease'.

Job failed, see logs for details

Any idea?

Same issue:
Unexpected error while performing partial evaluation:
Class = [com/rey/material/widget/ListPopupWindow]
Method = [buildDropDown()I]
Exception = [java.lang.IllegalArgumentException] (Can't find common super class of [com/rey/material/widget/ListPopupWindow$DropDownListView] (with 2 known super classes) and [android/view/View] (with 2 known super classes))
Warning: Exception while processing task java.io.IOException: java.lang.IllegalArgumentException: Can't find common super class of [com/rey/material/widget/ListPopupWindow$DropDownListView] (with 2 known super classes) and [android/view/View] (with 2 known super classes)

Finally managed to use remove library and import the classes only I required

mee too .Can't find common super class of [com/rey/material/widget/ListPopupWindow$DropDownListView] (with 2 known super classes) and [android/view/View] (with 2 known super classes)
please help me !

I caught with same issue. Please provide the "proguard-rules. pro".

I am having same issue now. when I tried to generate signed apk. please anyone tell me how to resolve this ASAP.

I caught with same issue. Please provide the "proguard-rules. pro".

Hi,
Here are how i solved my proguard problem

-keep class com.rey.material.** { *; } -dontwarn com.rey.material.**

Hope it s help

Hi,
Its nothing but the issue with the confliction of class names present in com,rey.material and your material design library.

So remove this library from your project and just take whatever you want from it and just manually import the classes into your app so it doesn't get stuck.

Any update about proguard issue? its been more than 8 months. i am still could not get through this issue.

please update library version to 1.2.5 and add -keep class com.rey.material.** { ; } -dontwarn com.rey.material.* in proguard. This issue is solved!.

@rey5137 This issue is still unsolved!