Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7595699
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T21:44:06+00:00 2026-05-30T21:44:06+00:00

So I decided to split my project(for lite/full versioning) today. I packed the main

  • 0

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.

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 here), it creates a com.mopub.mobileads package in my project.

This is my first time having a problem with multiple packages within a project, but for some reason, Eclispe insists that my import:

import com.mopub.mobileads.MoPubView;

cannot be resolved, specifically the com.mopub part.

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 projects, I’d be set, since that’s simple. Google hasn’t been much help to me in this either.

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.

I know I’m just missing something stupid, but I’m just not seeing it.

The errors it gives are pointed at the import line, and every line that references MoPubView, which is exactly what you’d expect:

(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    
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T21:44:07+00:00Added an answer on May 30, 2026 at 9:44 pm

    You can try to change how Eclipse responds to build path problems.

    Access the project properties (right click your project => Properties or Command + I on mac) and select Java Compiler => Building from the left pane. On the right pane, Enable project specific settings and modify the options under Build path properties.

    Assuming you don’t actually have circular dependencies that need to be corrected, this should be sufficient.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I decided to split a dynamic web application into two dynamic web applications, a
We decided to split an assembly into two assemblies. We did and learned that
I decided to use log4net as a logger for a new webservice project. Everything
When/where do you decide to split a large Visual Studio project into smaller multiple
I'm developing a shared library, and since the code is big, I've decided to
I've got a standard HTML form, which is split into two sections using fieldset
So I've written some code in Ruby to split a text file up into
I decided to dig into the ActiveRecord code for Rails to try and figure
I have a large C++ file (SS.cpp) which I decided to split in smaller
I decided to try http://www.screwturn.eu/ wiki as a code snippet storage utility. So far

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.