I want to use this github project in my existing android app. Could anyone elaborate how to do that ?
Step 1 : Download Zip file
Step 2 : unzip Downloaded file
Step 3 : Open Eclipse New->Android Project->Android Project from existing source->
Browse downloaded project
Step : 4 Right click project folder Go Properties->Android-> and make this project as library
Step : in your project go properties-> android-> Add Library -> and select library project which you import
Step 5 : Now re-build your project
Now .You able to used all class as library in your existing project
For more information see How to include GitHub library to your existing Android project in eclipse thread
Related
How do I build a android studio project from github repository that only contains the source codes, no gradle build information. For example. I want to build a project from this repository https://github.com/googledrive/android-quickstart, but the android project could not be built correctly. Can I just add the build.gradle and expect the project to work?
This is a project in eclipse. Just download the zip file, and extract it. Then in android studio, import the existing Eclipse project by hitting File -> Import Project. Android Studio will just build you a AS project, including all the gradle files.
You can just create a new project with same package name as in the github project.
This will create a compilable android project/library. after that manually copy the code by downloading from github (download as zip) and then just copy the source folder.
There are three ways to do this that I know of officially.
1) Add project directly
Step 1:
Add project into following directory {App Root Folder}/Libraries/ (create libraries folder if doesn't exist)
Step 2:
Go to File/Project Structure/ under Dependencies tab click green add icon and select Module dependency and select the project you added to libraries.
2) Add project as a .jar/.aar
Step 1:
Either look for a the version of .jar/.aar you are looking for on web or compile project to .jar/.aar.
Step 2:
Follow Step one for previous way but instead select Library dependency
3) Add project from Maven
Step 1:
Find library on gradleplease.appspot.com
Step 2:
Add compile 'package name' under dependencies in your apps build.gradle
I want to add AndroidImageSlider library to my project
library link --> click here
but how can i do that?
please help me.
After you've downloaded it from here , just import it from file -> import -> Existing Project To Workspace , select your Project and Import . then in your project properties , android section , panel below android Api's, add that library to your project .
Edit : Steps to add a library Project to Existing Project :
1 - download Library Project File
2 - import that library to the eclipse file -> import -> Existing Project To Workspace -> Browse to your File
3 - if the IsLibrary tick marck doesn't have checked , check that to inform that project as a library project in Properties -> Android
4- inside your Main Project properties Android -> Library -> add -> your library project
** if the library project path has been changed you have update your main project reference to the new path remove it again and add updated path to your library project.
I want to use this library https://github.com/koush/ion in my project.But I don't understand how can I install it.I am using Windows 8 and Eclipse.How can I install ?
Download that project and put it in workspace of eclipse and import it from work space to eclipse and make it as library project and add it to your project.
Steps to import:
Right Click on package explorer
Import
Existing Project into Workspace
And then browse to the location where the project downloaded
Import it
Steps to add it as library to your project:
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
You must perform the following steps:
Download ion project code.
Import it in your workspace using eclipse.
Right click in your current project and select Properties. The project properties windows must be opened.
Select Android option.
Go to the bottom of this tab and you can view the Library section.
Add the library dependency using the Add button.
I hope that helps!
You are probably better off downloading the jars vs the source.
https://github.com/koush/ion#get-ion
Download those two and place them in the "libs" directory of your project. If that directory does not exist, create it. From with your Eclipse project preferences, you can add those jars as dependencies.
I want to include this library from github to my existing project, I am using eclipse.
Is there any tutorial on how to do this? I am new to android and java development so any step by step help would be great!
note:
I have an Egit plugin installed in eclipse.
Image of the screen when I try to Import the library from the unziped file I have downloaded from the github page:
Also after importing the library as suggested below a library folder created in my Package Explorer but here is what I get:
I have now the library in the eclipse Package explorer, and now I want to add it to my project, so I Right-Click on the existing project and choose properties. Under Android liabrary i click ok and choose the library than ok, nothing happens!
Right click on your project -> properties -> Android -> Add. There you can hose a library.
I got the same problem as yours, please check my answer here , hope it helps.
Extract the zip,
Right click in your workspace -> Import -> Android -> Existing Android Code Into
Workspace -> give path of that project/library
Done.
I have zip file of Android-wheel but dont know how to use it into my project.What possible things can i do, Please suggest me.
You need to unzip the zip file to some directory, and in your android project under build-path choose add external jar, and choose the jar in the unzipped directory.
Update:
I checked Android-Wheel out and you will have to import the project from the google-code svn Android Wheel. In eclipse if you go to create a new project there should be a import from svn option. Once you do and the project is imported you can set it up as a library project and then use it in your app. To do that right click on your project, choose the android tab, and choose add under the libraries section.
I just made this tutorial, hope this helps those who use android wheel for the first time.
http://tolkianaa.blogspot.mx/2012/03/do-not-try-to-reinvent-wheel.html
*Download project with Svn
*Import the project into Eclipse
* Once you import the project in the Eclipse, Right click on the project -> Properties -> Choose android tab and check the IsLibrary option
* Now Right click on your project -> Properties -> Choose android tab -> In the Library section add the imported project.