title: Importing libraries to existing project in eclipse causing a lot of trouble
body: <p>So I'm trying to import an existing project to eclipse and it's causing me a lot of trouble. I'll explain step by step, exactly how I'm trying to import it and someone please help me finish the importing because no matter how I do it, I still keep getting errors.</p>
  
  <p>So as soon as I finish importing the existing android application there is a red exclamation mark (!) next to the project folder in eclipse. So I right clicked it and selected 'configure build path'
  <img src="https://i.stack.imgur.com/vg7hS.png" alt="enter image description here"></p>
  
  <p>I then click on every single jar and select a new path.  First, I found android support v4 in sdk/extras/android/support/v4, then I found google-play-services_lib in sdk/extras/google/google_play_services/libproject/google-play-services_lib/bin, and the last one (google-play-services) is at google-play-services_lib/bin.</p>
  
  <p>So now after I'm done setting paths for those jars, the red exclamation mark disappears and a new error appears. </p>
  
  <p><img src="https://i.stack.imgur.com/67AS9.png" alt="enter image description here"></p>
  
  <p>Now I right clicked the project again and selected properties --> android and this is what I see:
  <img src="https://i.stack.imgur.com/RxFap.png" alt="enter image description here"></p>
  
  <p>I then imported google-play-services_lib in eclipse as 'library project', but the red cross remained there, so I tried adding it manually with 'add button'.</p>
  
  <p>As for the other 2 missing libraries, I googled about it and found out that CaptureActivity is from zxing barcode scanned library. So I downloaded the newest zxing version (2.2) and imported the library manually, same as I did with google play services. Right after importing CaptureActivity in eclipse and before even adding it to my application, this is what happens and I have no idea how to fix it.
  <img src="https://i.stack.imgur.com/R5vYw.png" alt="enter image description here"></p>
  
  <p>Even though the eclipse gave me an error when importing zxing 2.2, I still added it to my project's libraries and now some errors disappeared. The only error I'm still getting is on qr_portrait_camera in folder layout:
  <img src="https://i.stack.imgur.com/n9Zyd.png" alt="enter image description here"></p>
  
  <p>So I right clicked my imported project again to see build paths again and this is what I notice:
  <img src="https://i.stack.imgur.com/l33yI.png" alt="enter image description here"></p>
  
  <p>So this is it. This is where I'm stuck and can't go forward, I googled a lot, did every kind of research I could and I don't know what to do anymore.</p>
  
  <p>These are the three remaining problems that I've got:</p>
  
  <ul>
  <li>I need to import one more library and I don't know where to find it (PortraitQR):</li>
  </ul>
  
  <p><img src="https://i.stack.imgur.com/4Vj9t.png" alt="enter image description here"></p>
  
  <ul>
  <li><p>CaptureActiviy imported library project still shows a lot of red errors and I don't know how to fix that.</p></li>
  <li><p>There's a CaptureActivity.jar in build path that shows an error and I can't either remove it or find a path to it.</p></li>
  </ul>
  
  <p>I really need to fix this as soon as possible, I will be very grateful for any kind of help!</p>