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

Execution failed for task ':app:dexDebug' #65

Closed
andrea-caselli opened this issue Nov 14, 2015 · 3 comments
Closed

Execution failed for task ':app:dexDebug' #65

andrea-caselli opened this issue Nov 14, 2015 · 3 comments

Comments

@andrea-caselli
Copy link

I just added the library to dependencies.

dependencies
{
    compile 'io.jsonwebtoken:jjwt:0.6.0'
}

When i tried to ran the application, I got the following

Error:Execution failed for task ':app:dexDebug'.
com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Program Files\Java\jdk1.8.0_60\bin\java.exe'' finished with non-zero exit value 2

I've googled around for a while but can't figure this out, so any help would be awesome

@lhazlewood
Copy link
Contributor

Are you sure that's the only change you made in your Gradle file? The error message does not indicate anything about JJWT - unfortunately without more information that points to something in JJWT, I can't really help.

@lhazlewood
Copy link
Contributor

Do you have a sample project that can be used that demonstrates the problem is with JJWT? If not, we'll likely close this issue in due time.

@stormoPL
Copy link

stormoPL commented Jan 3, 2016

I may have solution to this issue (though it is not JJWT fault). I had exactly same problem and I managed to trace it to using:

compile "com.google.android.gms:play-services:8.3.0"

INSTEAD:

compile "com.google.android.gms:play-services-gcm:8.3.0"

More info here: http://stackoverflow.com/a/33690032

After cutting from all services to particular service problem has been resolved.

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

3 participants