Coder Social home page Coder Social logo

Android build issue about java-jwt HOT 1 CLOSED

auth0 avatar auth0 commented on September 7, 2024
Android build issue

from java-jwt.

Comments (1)

justinrixx avatar justinrixx commented on September 7, 2024

I figured out my issue. I did have clashing dependencies:

gradle :app:dependencies:

+--- com.android.support:appcompat-v7:22.2.1
|    \--- com.android.support:support-v4:22.2.1 -> 23.1.1
|         \--- com.android.support:support-annotations:23.1.1
+--- com.android.support:support-v4:22.2.1 -> 23.1.1 (*)
+--- com.squareup.okhttp3:okhttp:3.3.0
|    \--- com.squareup.okio:okio:1.8.0
+--- com.auth0:java-jwt:2.2.0
|    \--- org.apache.commons:commons-io:1.3.2
\--- com.moki:manage-sdk:2.3.0
     +--- com.j256.ormlite:ormlite-android:4.47
     |    \--- com.j256.ormlite:ormlite-core:4.47
     +--- com.j256.ormlite:ormlite-core:4.47
     +--- com.google.code.gson:gson:2.4
     +--- com.android.support:support-v4:23.1.1 (*)
     \--- commons-io:commons-io:2.4

So manage-sdk requires commons-io:2.4 and java-jwt requires commons-io:1.3.2. I fixed it by changing my dependency for the jwt library:

    compile('com.auth0:java-jwt:2.2.0') {
        exclude module:'commons-io'
    }

Hopefully this is helpful to others.

from java-jwt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.