Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proguard #40

Open
kvolkers opened this issue Aug 1, 2017 · 3 comments
Open

Proguard #40

kvolkers opened this issue Aug 1, 2017 · 3 comments

Comments

@kvolkers
Copy link

kvolkers commented Aug 1, 2017

What are the necessary proguard rules for this library?

Running into the following when building with minifyEnabled true.

Warning:com.liuguangqiang.swipeback.SwipeBackActivity: can't find superclass or interface android.support.v7.app.ActionBarActivity
Warning:com.liuguangqiang.swipeback.SwipeBackActivity: can't find referenced class android.support.v7.app.ActionBarActivity
Warning:com.liuguangqiang.swipeback.SwipeBackActivity: can't find referenced method 'android.content.res.Resources getResources()' in program class com.liuguangqiang.swipeback.SwipeBackActivity
Warning:com.liuguangqiang.swipeback.SwipeBackActivity: can't find referenced class android.support.v7.app.ActionBarActivity
@liuguangqiang
Copy link
Owner

-keep class com.liuguangqiang.** { *; }

@metinilhan
Copy link

-keep class com.liuguangqiang.** { ; }
-dontwarn com.liuguangqiang.
*

Worked for me

@phatnhse
Copy link

phatnhse commented Jun 22, 2018

Should be
-keep class com.liuguangqiang.** { *; }
-dontwarn com.liuguangqiang.*

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

No branches or pull requests

4 participants