Cannot register Android Android library in my application

I follow the instructions given at http://developer.android.com/guide/publishing/licensing.html

I made a copy of the <sdk> / market_licensing directory, and then using the Create Projects Wizard in Eclipse, I created a new Android project from an existing source and pointed it to the library subdirectory in my copy of market_licensing.

I checked the "Library" field in the properties of the android project market_licensing. I added this project as a library project in my application project. It appears in the list with a green checkmark.

When I save the project settings and restore, the compiler cannot find the classes in the LVL project, and when I return to my application project settings, the entry in the library list now has a red X instead of a green check mark.

I do not understand what I am doing wrong, which prevents me from referring to the LVL project. Any help?

EDIT: I tried to add a licensing project to my build path for my application project, and then I can create it, but when I try to run the application, it does not work because it cannot find any of the library code, So it’s clear that the status of the β€œlibrary” in the licensing project is not configured correctly and / or it is not automatically inserted into my application project during assembly.

+4
source share
1 answer

I posted a similar question, and as I understand it, what is the problem: see here In eclipse, it was not possible to reference the Android library project in another Android project

+7
source

All Articles