Question

enter image description here

So these are the three missing libraries, that I still didn't manage to add to my imported project. I tried a lot of things and it simply won't work. I downloaded google play services with SDK manager and google-play-services_lib isn't there, while google-play-services is there, but I need both. As for CaptureActivity and PortraitQR, I tried adding both jars from the project dexedLibs but it didn't work. I also tried downloading this but I don't know how to add it to the project (I only know how to add single jars)

EDIT: Okay so I played around a little bit and I think I'm closer to a solution now. I manually added google play services lib and capture activity and this is how libraries look like now: enter image description here

The only remaining problem is that now there is a red exclamation mark next to my project and when I go to build paths there is this red error:

enter image description here

I tried to look for captureactivity.jar but I can't find it. Can anyoe help me out here?

Was it helpful?

Solution

you should import them with new project->Android project from existing code-> then locate your projects path and also make sure you make them library project; right click on project-> properties-> android -> scroll to bottom and check 'is library' checkbox

and the path for google play services lib is => \extras\google\google_play_services

you can also find sample code on there

OTHER TIPS

These three are library projects. Let's say you have a project in your IDE which is called "PortraitQR". It must be open before your project, Evanturist, can see it as a library project. And it's the same story for the other two library projects. If it doesn't work, try removing them in the dialog you've shown here and adding them again.

You should not use any .jar files for this to work. You should have these three projects open in your IDE.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top