title: Unable to import a class in "Referenced libraries" after "Add Class Folder" in "Java Build Path" Eclipse
body: <p>I'm trying to include package X in project B as reference in my project A. Both project A and B are in my same workspace. Both A and B are Android/ Java projects.  </p>
  
  <p>I click on "<strong>Add Class Folder</strong>" in "<strong>Java Build Path</strong>" in Eclipse and choose package X folder and now it appears under "<strong>Referenced libraries</strong>" in my project A:<br>
  <img src="https://i.stack.imgur.com/0tHGt.png" alt="enter image description here">  </p>
  
  <pre><code>Reference Libaries
     src/[path-to-package-X]
  </code></pre>
  
  <p>Now I'm not able to import a class in that folder. Eclipse is not making any suggestion either.  </p>
  
  <pre><code>import sg.xxx.xxx.xxx.ABaseClass;//sg.xxx.xxx.xxx is the package X  
  ==&gt; The import "sg" cannot be resolved
  </code></pre>
  
  <p>Why doesn't it work? What am I doing wrong here?</p>
  
  <p>*Notes:<br>
  Project B is huge so I only want to include package X but not anything else.</p>