NAXAM / braintreedropin-android-binding

Xamarin.Android binding library - Braintree DropIn
MIT License
0 stars 2 forks source link

Duplicate zip entry [classes.jar:io/card/payment/CardIOActivity.class] #3

Open GiacomoBianco opened 5 years ago

GiacomoBianco commented 5 years ago

Hi, I have a Xamarin From project in which I need to use Braintree DropIn payment gateway. I have installed from nuget your “Naxam.BraintreeDropIn.Droid” package in my Android project but I have some problems during build. First of all, I had the error “No resource found that matches the given name: attr 'textColorError'” in “…\obj\Debug\90\lp\26\jl\res\values\values.xml”. I solved it by creating a new attrs.xml file with content:

<declare-styleable name="MainTheme">
    <attr name="textColorError" format="color" />
</declare-styleable>

Then, when I try to build again, I obtain the error “Can't read […\obj\Debug\90\lp\2\jl\bin\classes.jar(;;;;;;!META-INF/MANIFEST.MF)] (Duplicate zip entry [classes.jar:io/card/payment/CardIOActivity.class])”.

The Android Target Api Level is 28 and Minimum is 21. All NuGet packages are up to date.

Have you any ideas about how to solve the issue?

Thank you

tuyen-vuduc commented 4 years ago

Hi,

Plz check out the latest code.

Let me know if it's ok.

cheers.