I've a project in Android Studio and I want import a library ZXing. I downloaded the folder not the jar but how can I import it? thanks
            Asked
            
        
        
            Active
            
        
            Viewed 1,770 times
        
    0
            
            
        - 
                    you want to import lib folder or lib project? – Rohan Pawar Sep 02 '15 at 13:12
- 
                    You will need the jar file to import the jar file... – string.Empty Sep 02 '15 at 13:13
- 
                    2possible duplicate of [How to integrate ZXing Library to Android Studio for Barcode Scanning?](http://stackoverflow.com/questions/27851512/how-to-integrate-zxing-library-to-android-studio-for-barcode-scanning) – Christopher Sep 02 '15 at 13:15
- 
                    Check this link out... http://stackoverflow.com/questions/16608135/android-studio-add-jar-as-library – Rohit Jagtap Sep 02 '15 at 13:17
- 
                    I downloaded the folder called zxing-master and I want import that to my project I know how import jar but not folder. – Paulo Henrique Dutra Sep 02 '15 at 13:23
- 
                    @PauloHenriqueDutra, check my answer. – Sagar Zala Sep 02 '15 at 13:41
1 Answers
3
            Follow below steps:
- Goto File
- Click -> Import Module...
- Then select you library project folder.
After importing library project.
- Goto File
- Click-> Project Structure
- Select your main project from Module section [Left Pane]
- Then click on Dependency Tab on Right Side
- Click on + icon on Right Side -> Select Module Dependency -> Choose Module
 
    
    
        Sagar Zala
        
- 4,854
- 9
- 34
- 62
