Skip to content
This repository has been archived by the owner on Feb 28, 2024. It is now read-only.

i have problem with proguard #449

Open
imaNNeo opened this issue Mar 15, 2018 · 12 comments
Open

i have problem with proguard #449

imaNNeo opened this issue Mar 15, 2018 · 12 comments

Comments

@imaNNeo
Copy link

imaNNeo commented Mar 15, 2018

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?

@Direwolfik
Copy link

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)

@naushad-madakiya
Copy link

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

@sn32247
Copy link

sn32247 commented May 19, 2018

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 !

@rahuljidgedev
Copy link

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

@ananth10
Copy link

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

@dononcharles
Copy link

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

@NicolasGodfather
Copy link

+1

@dononcharles
Copy link

Hi,
Here are how i solved my proguard problem

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

Hope it s help

@Nishit79
Copy link

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.

@ananth10
Copy link

ananth10 commented Feb 14, 2019

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

@tharanitharankaptas
Copy link

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!.

@karlsoft
Copy link

@rey5137 This issue is still unsolved!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests