Creating Android Library Project
I am following a tutorial here I can't get how to do the 'use Vitamio as Android library project' . How can I use it as an Android library project?
Solution 1:
Create Library Project Use following steps
- File->New->Other
- Select Android Project
- Select "Create Project from existing source"
- Click "Browse..." button and navigate to Vitamio in your PC
- After adding project,Click Finish (Now Vitamio project in your workspace)
- Right-click on your project -> Properties
- In Android->Library section click Add
- select recently added project -> Ok
that's it! Now you can use it as library project.
Import Above library Project To import project,do following steps:
- In the Package Explorer, right-click your main project and select Properties.
- In the Properties window, select the "Android" properties group at left and locate the Library properties at right.
- Click Add to open the Project Selection dialog.
- From the list of available library projects, select a project and click OK.
- When the dialog closes, click Apply in the Properties window.
- Click OK to close the Properties window. that's it! enjoy
Solution 2:
Follow these steps to use external project as library project:
- Import the project from File>Import
- Select Existing Android Code Into Workspace
- Now in your project goto Properties > Android
- There click Add Button and select the Vitamio project
Solution 3:
Follow these steps to use external project as library project
- File->New->Other
- Select Android Project 3 Select Create Project from existing source
- Click Browse button and navigate to Vitamio
- and then Click Finish Button
- Then right click on Project and select the properties option.
- Then select the Android option and go to library section.
- Click on add button and select the recently added project and check the isLibrary checkbox and click on Ok button. Now your project become the library project.
Post a Comment for "Creating Android Library Project"