I'm facing a lot of errors while importing MoPub SDK to my workspace. It shows over 5000 errors.

MoPub SDK errors on import in Eclipse

Could you tell me what I'm doing wrong? I've tried to import as Java Project, then as Android Project. I have set it as library, and referencing to it as a library from my main project.

Any help will be appreciated.

Thank you, Wojtek

有帮助吗?

解决方案

I've figured it out. After importing the project Eclipse made Java Build Path -> Source:

  • mopub-sdk/gen
  • mobup-sdk/src

But it should be:

  • mopub-sdk/gen
  • mobup-sdk/src/main/java

Java Build Path - MoPub SDK source

Simple Remove and then Add Folder... solve the issues.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top