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

Missing rule in ProGuard file #124

Closed
nzakharchenko opened this issue Oct 19, 2016 · 2 comments
Closed

Missing rule in ProGuard file #124

nzakharchenko opened this issue Oct 19, 2016 · 2 comments

Comments

@nzakharchenko
Copy link

Hey guys!

I'm using latest version of your SDK
compile "com.braintreepayments.api:braintree:2.3.10"

where you've mentioned that you moved ProGuard directives inside SDK
Include ProGuard directives in the SDK https://github.com/braintree/braintree_android/blob/master/CHANGELOG.md#2310

but my build fails with such warnings:

Warning: com.braintreepayments.api.DataCollector$2$1: can't find superclass or interface com.kount.api.DataCollector$CompletionHandler Warning: com.braintreepayments.api.DataCollector: can't find referenced class com.kount.api.DataCollector Warning: com.braintreepayments.api.DataCollector$2: can't find referenced class com.kount.api.DataCollector Warning: com.braintreepayments.api.DataCollector$2: can't find referenced class com.kount.api.DataCollector Warning: com.braintreepayments.api.DataCollector$2: can't find referenced class com.kount.api.DataCollector Warning: com.braintreepayments.api.DataCollector$2: can't find referenced class com.kount.api.DataCollector$LocationConfig Warning: com.braintreepayments.api.DataCollector$2: can't find referenced class com.kount.api.DataCollector Warning: com.braintreepayments.api.DataCollector$2: can't find referenced class com.kount.api.DataCollector Warning: com.braintreepayments.api.DataCollector$2: can't find referenced class com.kount.api.DataCollector Warning: com.braintreepayments.api.DataCollector$2: can't find referenced class com.kount.api.DataCollector Warning: com.braintreepayments.api.DataCollector$2: can't find referenced class com.kount.api.DataCollector$LocationConfig Warning: com.braintreepayments.api.DataCollector$2: can't find referenced class com.kount.api.DataCollector$CompletionHandler Warning: com.braintreepayments.api.DataCollector$2: can't find referenced class com.kount.api.DataCollector Warning: com.braintreepayments.api.DataCollector$2$1: can't find referenced class com.kount.api.DataCollector$CompletionHandler Warning: com.braintreepayments.api.DataCollector$2$1: can't find referenced class com.kount.api.DataCollector$Error Warning: com.braintreepayments.api.DataCollector$2$1: can't find referenced class com.kount.api.DataCollector Warning: com.braintreepayments.api.DataCollector$2$1: can't find referenced class com.kount.api.DataCollector$Error Warning: com.braintreepayments.api.DataCollector$2$1: can't find referenced class com.kount.api.DataCollector$Error

And in file https://github.com/braintree/braintree_android/blob/master/Braintree/proguard.pro you have different rules then in SDK and looks like the missing one is -dontwarn com.kount.**

Could you, please, add it to next version?

Best Regards
Nick

@quinnjn
Copy link
Contributor

quinnjn commented Oct 19, 2016

Hey @nzakharchenko !

We will be adding -dontwarn com.kount.** in the next release.

See #123

@quinnjn quinnjn closed this as completed Oct 19, 2016
@nzakharchenko
Copy link
Author

Thank you @quinnjn !

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