在构建mopub sdk时,找不到符号:class org.fest.assertions.api.ANDROID

时间:2021-05-03 07:20:32

I am building Mopub SDK as a module using Intellij Idea. I have copied test-assert-core-2.0M10.jar to libs folder under Mopub. However, when building it, the line import org.fest.assertions.api.ANDROID; shows red color at the word "ANDROID". Compilation error message says:

我正在使用Intellij Idea构建Mopub SDK作为模块。我已将test-assert-core-2.0M10.jar复制到Mopub下的libs文件夹中。但是,在构建它时,行导入org.fest.assertions.api.ANDROID;在“ANDROID”一词显示红色。编译错误消息说:

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? Thanks!

已搜索过,但未发现此特定错误。任何在Intellij Idea下使用Mopub的人都可以提供一些提示吗?谢谢!

1 个解决方案

#1


0  

I've found the solution. I deleted all files under /mopub-sdk/src/test, and it builds successfully.

我找到了解决方案。我删除了/ mopub-sdk / src / test下的所有文件,并且它已成功构建。

#1


0  

I've found the solution. I deleted all files under /mopub-sdk/src/test, and it builds successfully.

我找到了解决方案。我删除了/ mopub-sdk / src / test下的所有文件,并且它已成功构建。