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

add proguard configure #2

Closed
captain-miao opened this issue Nov 4, 2015 · 1 comment
Closed

add proguard configure #2

captain-miao opened this issue Nov 4, 2015 · 1 comment

Comments

@captain-miao
Copy link

Warning:com.cocosw.favor.MethodInfo: can't find referenced class com.f2prateek.rx.preferences.RxSharedPreferences
Warning:com.cocosw.favor.MethodInfo: can't find referenced class com.f2prateek.rx.preferences.Preference
Warning:com.cocosw.favor.MethodInfo: can't find referenced class com.f2prateek.rx.preferences.RxSharedPreferences
Warning:there were 10 unresolved references to classes or interfaces.
         You may need to add missing library jars or update their versions.
         If your code works fine without the missing classes, you can suppress
         the warnings with '-dontwarn' options.
         (http://proguard.sourceforge.net/manual/troubleshooting.html#unresolvedclass)
Exception while processing task 
java.io.IOException: Please correct the above warnings first.

my proguard.txt (it's working)

# favor
-dontwarn com.cocosw.favor.** { *; }
-keep class com.cocosw.favor.** { *; }
soarcn added a commit that referenced this issue Nov 4, 2015
@soarcn
Copy link
Owner

soarcn commented Nov 4, 2015

Good job, thanks mate!

@soarcn soarcn closed this as completed Nov 4, 2015
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

2 participants