0

I'm working on facebook integration using socialauth I've added socialauth jars but couldn't execute the program it's showing the following error :

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_05\bin\java.exe'' finished with non-zero exit value 2

I don't know why is it showing that, I might not have installed libraries properly.

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:23.0.0'
compile 'com.squareup.okhttp:okhttp:2.5.0'
compile 'com.google.android.gms:play-services:7.8.0'
compile 'com.squareup.picasso:picasso:2.5.2'
compile files('libs/socialauth-4.4.jar')
compile files('libs/socialauth-android-3.2.jar')


}

Please help Thank you in advance

Brucode
  • 205
  • 1
  • 3
  • 12
  • that's what i'm thinking but those are two different libraries – Brucode Nov 18 '15 at 12:57
  • oh, come on ... It is obvious: look at the first dependency and last two dependencies ... – Selvin Nov 18 '15 at 12:58
  • http://code.tutsplus.com/tutorials/quick-tip-add-facebook-login-to-your-android-app--cms-23837 go through from this link this worked for me... – Shekhar Nov 18 '15 at 12:17
  • Thanx for the response but this is the traditional way.. i've done integration using facebook SDK but now I need to integrate facebook, twitter and login that's why I'm using **SocialAuth** But stuck due to this error – Brucode Nov 18 '15 at 12:21
  • For twitter u can use twitter4j lib. – Shekhar Nov 18 '15 at 12:26
  • but using that approach i will have to install new libraries each time for new integration whereas socialauth supports **fb,twitter,linkedin,googleplus,myspace,flicker,instagram etc.** – Brucode Nov 18 '15 at 12:40
  • Then check once in library folder you may have added same library twice or not – Shekhar Nov 18 '15 at 12:43
  • I've added there two different libraries of social auth – Brucode Nov 18 '15 at 12:56
  • http://stackoverflow.com/questions/28917696/errorexecution-failed-for-task-appdexdebug-com-android-ide-common-process – Shekhar Nov 18 '15 at 12:57
  • Now i've resolved the previous problem. Now On click of button logcat says : org.brickred.socialauth.android.SocialAuthError: URL Authentication error – Brucode Nov 18 '15 at 13:18

0 Answers0