How to import mopub-sdk in to android eclipse?



When import mopub-sdk in to android eclipse then it shows Cannot nest ‘mopub-sdk/src/main/java’ inside ‘mopub-sak/src’ to enable the nesting exclude ‘main/’ from ‘mopub-sdk/src’.

Prasad K


Hi @KadambaPrasad,

Thanks for reaching out! It looks like you are missing a step while you are compiling which is causing this error. I’ve included screenshots below to help you rectify this. Please note that this is an old version of Eclipse. If you are still having trouble, please reach out to for additional assistance.