sandeep10andre / linkedin-j

Automatically exported from code.google.com/p/linkedin-j
0 stars 0 forks source link

Class not found exception for LinkedInApiJaxbClient. #145

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Add 1.0.429 jars to Android Studio Project
2. Run Getting Started / OAuth Flow examples
3. After successfully obtaining Access Token try to create Client

What is the expected output? What do you see instead?
Expected: client Object is created. 

Instead: ClassNotFoundException for 
com.google.code.linkedinapi.client.impl.LinkedInApiJaxbClient

What version of the product are you using? On what operating system?
I've tried binary downloads for 1.0.429 and 1.0.415. I've also tried using 
gradle + maven to use 1.0.416 and I get the issue each time. 

I'm also using Android Studio/gradle to compile.

Please provide any additional information below.

I've looked at different threads and people have said that they can get this 
error to go away if they're using a different version, but this doesn't work 
for me. Any idea what's up with it? Thanks!

Original issue reported on code.google.com by jacobdu...@gmail.com on 17 Apr 2014 at 5:08

GoogleCodeExporter commented 9 years ago
I've also tried adding the jars to an eclipse build  and same result.

Original comment by jacobdu...@gmail.com on 17 Apr 2014 at 5:17

GoogleCodeExporter commented 9 years ago
Yep, just realized there was a download specifically for Android. Solved my 
problem.

Original comment by jacobdu...@gmail.com on 17 Apr 2014 at 5:28

GoogleCodeExporter commented 9 years ago
Finally FIND THIS F***ING SOLUTION.

just add -keep class com.google.code.** {*;} to your proguard config.

Have a Nice day ;)

Original comment by AndreyGr...@gmail.com on 7 Aug 2014 at 11:45