Question

I'm having a real bad time trying to get Licensing to work. I'm following the docs at this location. I built the LVL library from the existing code in the Google Play Licensing Library and put the library into my workspace along with my android project.

I'm using code from this example that packages the licensing logic into a separate activity but I believe this is moot to the problem I'm having as I have tried it from my own main activity too.

THE PROBLEM IS: I cannot import com.android.vending.licensing...

The graphic below illustrates the problem. Internet research on this issue turns up many developers having this and related problems but none of the solutions work for me.

Does anyone have a clue?

My Project in Eclipse

Was it helpful?

Solution

Right click on LVLibrary -> Properties -> Android Check if isLibrary is selected (checked) THen go into your com.deanblake... and right click on that, then same as above but where you see reference check if the libarary is added (doesnt have an x next to it). If not just click Add and select LVLibrary.

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