Reputation: 11649
I am going to add one project as a library for the other one. To do that I try to
Project properties-->Android-->Library-->Add , but when i push the Add button it's always off and there is nothing to select?
(I have put my library project into the user project folder, but still not working )
Upvotes: 0
Views: 701
Reputation: 5684
Its deactivated, because you don't have a library project in your eclipse workspace. You can create a Android library project like described her: http://developer.android.com/tools/projects/projects-eclipse.html#SettingUpLibraryProject
Upvotes: 0
Reputation: 7306
Hm, offen you need
1.Create Project A
1.1. Open Properties
1.2. Android
1.3. Library set Is Library checked
1.4. Save It
2.Create Project B
2.1. Open Properties
2.2. Android
2.3. Add Library - here you will see your Project A
Also checkout Android API Versions of projects.
Upvotes: 3
Reputation: 2752
In order to do this you have to check 2 things:
When you have checked these 2 thing you will see your library project in the list
Upvotes: 0
Reputation: 8978
Library project should be an independent project (not inside any other project). Make sure that "is library" is ticked inside your library project.
Upvotes: 1