AnchorFreePartner / hydrasdk-demo-android

Hydra VPN SDK demo app for Android
https://developer.anchorfree.com/
62 stars 32 forks source link

Duplicate class com.anchorfree.hydrasdk.rx.RxApiCallback #21

Closed mercadeoshop closed 5 years ago

mercadeoshop commented 5 years ago

Hi, im receiving this error

Duplicate class com.anchorfree.hydrasdk.rx.RxApiCallback found in modules classes.jar (com.github.AnchorFreePartner.hydra-sdk-android:krakensdk:2.3.0) and classes.jar (com.github.AnchorFreePartner.hydra-sdk-android:rxsdk:2.3.0) Duplicate class com.anchorfree.hydrasdk.rx.RxApiCompletableCallback found in modules classes.jar (com.github.AnchorFreePartner.hydra-sdk-android:krakensdk:2.3.0) and classes.jar (com.github.AnchorFreePartner.hydra-sdk-android:rxsdk:2.3.0) Duplicate class com.anchorfree.hydrasdk.rx.RxCompletableCallback found in modules classes.jar (com.github.AnchorFreePartner.hydra-sdk-android:krakensdk:2.3.0) and classes.jar (com.github.AnchorFreePartner.hydra-sdk-android:rxsdk:2.3.0) Duplicate class com.anchorfree.hydrasdk.rx.RxTrafficListener found in modules classes.jar (com.github.AnchorFreePartner.hydra-sdk-android:krakensdk:2.3.0) and classes.jar (com.github.AnchorFreePartner.hydra-sdk-android:rxsdk:2.3.0) Duplicate class com.anchorfree.hydrasdk.rx.RxVpnStateListener found in modules classes.jar (com.github.AnchorFreePartner.hydra-sdk-android:krakensdk:2.3.0) and classes.jar (com.github.AnchorFreePartner.hydra-sdk-android:rxsdk:2.3.0)

timoshenkoav commented 5 years ago

Hi. How do you add dependency in gradle? It should be compile 'com.github.AnchorFreePartner.hydra-sdk-android:sdk:{VERSION_NAME}'

mercadeoshop commented 5 years ago

Thank you very much, was my mistake