title: MoPub import problem, I know I'm just missing something stupid
body: <p>So I decided to split my project(for lite/full versioning) today. I packed the main code into  library project, added two new shell projects, and linked them together. All of that worked fine, and I can run either the lite or full version with no problem.</p>
  
  <p>However, I'm having a problem with Mopub integration in the library project. I followed their little tutorial, which is very simple. My problem is the build order for packages within a project. As part of the install process(shown <a href="https://github.com/mopub/mopub-client/wiki/IntegrationHowToAndroid" rel="nofollow">here</a>), it creates a <code>com.mopub.mobileads</code> package in my project.</p>
  
  <p>This is my first time having a problem with multiple packages within a project, but for some reason, Eclispe insists that my import:</p>
  
  <pre><code>import com.mopub.mobileads.MoPubView;
  </code></pre>
  
  <p>cannot be resolved, specifically the <code>com.mopub</code> part. </p>
  
  <p>My only guess is that when I compile, it tries to compile my package first, and it's just not seeing the Mopub package yet. However, if that's the case, I cannot for the life of me figure out how to change the build order of individual packages. If I wanted to change the order of <em>projects</em>, I'd be set, since that's simple. Google hasn't been much help to me in this either.</p>
  
  <p>I know I could just add the source files into my own package, fix their imports to match, and have th whole problem gone, but that's an ugly hack I'd rather avoid.</p>
  
  <p>I know I'm just missing something stupid, but I'm just not seeing it.</p>
  
  <p>The errors it gives are pointed at the import line, and every line that references MoPubView, which is exactly what you'd expect:</p>
  
  <pre><code>(error x 5)MoPubView cannot be resolved to a type   mainAct.java    
  R.id.adView cannot be resolved  mainAct.java    
  The import com.mopub cannot be resolved mainAct.java    
  </code></pre>