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 8370933
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T14:02:00+00:00 2026-06-09T14:02:00+00:00

I have a working app and now wish to include an advertising system by

  • 0

I have a working app and now wish to include an advertising system by mopub. Looking at their getting started guide it says I should fist extract a “library project” (I’m not even sure what that is) using git. After having done that I now see that I have a directory called mopub-android-sdk inside this directory are a tree of further files and subdirectories.

The guide then states “Make sure the Android SDK files are in the same parent folder as your project”… this is where I’m confused. I have all my source files, androidmanifest etc in a directory c:\android\mygame am I now supposed to put mopub-android-sdk and all its sub-tree inside c:\android? or inside c:\android\mygame? (or somewhere else?)

EDIT: Some answers/comments have discussed the idea of converting the library project into a .jar file and then putting that in my libs directory… I have no objection to this so long as someone tells me there are no disadvantages to this compared to not making a jar – thinking about it more, wouldn’t the jar have to include every single function, whereas if I left it as a library project, the compiler may be able to omit unused code?

EDIT: Now I am getting more sceptical about the make-jar-then-put-in-libs approach. I found mopub-android-sdk.jar in the bin\res directory and copied it to my projects libs directory. The ad system seemed to work fine, except in the location on screen where I expect to see a specific icon (to dismiss the full screen ad) there is a junk image. I noticed that amongst the tree of files beneath mopub-android-sdk there is a res directory containing png files. I suspect that these images are not in the jar file.

  • 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-06-09T14:02:01+00:00Added an answer on June 9, 2026 at 2:02 pm

    If you’re simply including a *.jar library, put it in the libs/ folder of your project.

    If you’re trying to include an entire project…

    Right click the project you want it to be included into and go to properties. On the left side where there are tabs, select “Android”. In the area that says “Library” press the “Add…” button and then select the project you want to include. Do a clean build of your project.

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

Sidebar

Related Questions

I have been working on an iOS App for sometime now and its almost
I am working on an app right now where I have Individuals, Athletes and
I have been working on a Windows Mobile app for a little while now
I have an expressjs app with everyauth setup. Everyauth is working fine. Now, I
I have been working on getting a mail app to work from a tutorial
I have a vb app working now but many users have complained to me
I have been working with iPhone app as developer and now my PM(Project Manager)
Previous working asp.net webforms app now throws this error: System.MissingMethodException: Method not found The
We have a working WPF app that we are looking into running in the
I have been working on an app in XCode for a while now and

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.