使用 android 库项目的 Android 构建问题
PS:我将“Android Library Project”称为ALP 我有一个 ALP,我们称之为 A,它使用 ALP B。
并且有一个使用 A 作为库的常规项目,但 Eclipse 给了我一些构建错误:
Description Resource Path Location Type
MainFrame cannot be resolved to a type BActivity.java /General/A_src/com/ww/general line 5 Java Problem
The import com.woodwing.mainframe cannot be resolved BActivity.java /General/A_src/com/ww/general line 3 Java Problem
此 BActivity 是 ALP B 上的 jar 的一部分,并在 ALP 上使用A,但是将 A 添加为一般库,编译器会给出错误。
PS: I'll refer "Android Library Project" as ALP
I has a ALP let's call A, that use a ALP B.
And has a project General that use the A as Library, but Eclipse give me some build errors:
Description Resource Path Location Type
MainFrame cannot be resolved to a type BActivity.java /General/A_src/com/ww/general line 5 Java Problem
The import com.woodwing.mainframe cannot be resolved BActivity.java /General/A_src/com/ww/general line 3 Java Problem
This BActivity is part of a jar on the ALP B and is used on ALP A, but adding the A as a Library of General, the compiler give that errors.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我意识到我也应该在 General 上导入 jars。
I realized that I should import the jars on General also.