onepf / OpenIAB

Open In-App Billing for Google Play, SlideMe, Amazon Store, Nokia Store, Samsung Apps, Yandex.Store, Appland, Aptoide, AppMall and Fortumo.
http://onepf.org/openiab/
Apache License 2.0
474 stars 171 forks source link

Proguard can't find superclass #257

Closed TobyKaos closed 10 years ago

TobyKaos commented 10 years ago

Hell I try to export my android game with openIAB(great). But I have this error:

Note: there were 175 duplicate class definitions. [2014-07-18 12:18:22 - MultiBreaker] Warning: org.onepf.oms.appstore.TStoreRequestCallback: can't find superclass or interface com.skplanet.dodo.IapPlugin$RequestCallback

I have added openiab jar in my libs folder. I have also added fortumo jar into libs folder but I do not use fortumo.

I have setup the proguard config file as in the wiki.

GOOGLE

-keep class com.android.vending.billing.**

AMAZON

-dontwarn com.amazon.* -keep class com.amazon.* {;} -keepattributes *Annotation -dontoptimize

SAMSUNG

-keep class com.sec.android.iap.**

NOKIA

-keep class com.nokia.payment.iap.aidl.**

FORTUMO

-keep class mp.* { ; }

How to fix it?

thank you

TobyKaos commented 10 years ago

I have found how to fix it:

I have added -dontwarn com.skplanet.dodo.**

com.skplanet.dodo seems to be a unity plugin