Wednesday, 15 May 2013

login - Person class conflict between Linkedin Api and Google+ in android -



login - Person class conflict between Linkedin Api and Google+ in android -

i implementing linked in login , google plus login in application.i facing problem.see screenshot below:

as can see there conflict between imports of linkedin , google plus.more person class root of problem required in both cases. compilation error states that: the import com.google.android.gms.plus.model.people.person collides import statement quite obvious there person class in linkedin api goolgle plus.

can figure me out solution??thanks in advance.

import 1 of two, , when using other utilize qualified class name.

let's assume you're using g+ person class in code - import , don't import linkedin person class.

import com.google.android.gms.plus.model.people.person;

that way whenever utilize person g+ one. , when need utilize linkedin person refer total name.

// g+ person: person persona; // linkedin person: com.google.code.linkedinapi.schema.person personb;

android login google-plus linkedin

No comments:

Post a Comment