简体   繁体   English

构建Mopub SDK时,找不到符号:类org.fest.assertions.api.ANDROID

[英]When building mopub sdk, cannot find symbol: class org.fest.assertions.api.ANDROID

I am building Mopub SDK as a module using Intellij Idea. 我正在使用Intellij Idea将Mopub SDK构建为模块。 I have copied test-assert-core-2.0M10.jar to libs folder under Mopub. 我已经将test-assert-core-2.0M10.jar复制到Mopub下的libs文件夹中。 However, when building it, the line import org.fest.assertions.api.ANDROID; 但是,在构建它时,该行将import org.fest.assertions.api.ANDROID; shows red color at the word " ANDROID ". 在单词“ ANDROID ”上显示红色。 Compilation error message says: 编译错误消息说:

Error:(20, 31) java: cannot find symbol
  symbol:   class ANDROID
  location: package org.fest.assertions.api

Have searched, but found nothing about this particular error. 已搜索,但未发现有关此特定错误的信息。 Anybody using Mopub under Intellij Idea can offer some hint? 任何在Intellij Idea下使用Mopub的人都可以提供一些提示吗? Thanks! 谢谢!

I've found the solution. 我找到了解决方案。 I deleted all files under /mopub-sdk/src/test, and it builds successfully. 我删除了/ mopub-sdk / src / test下的所有文件,并且构建成功。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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