简体   繁体   中英

Errors on importing MoPub SDK on Android in Eclipse

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

Eclipse中导入时出现MoPub SDK错误

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构建路径 -  MoPub SDK源代码

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM