找不到方法XXX,从方法YYY引用 [英] Could not find method XXX, referenced from method YYY

查看:223
本文介绍了找不到方法XXX,从方法YYY引用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有两个机器人项目,ProjA需要ProjB(在Eclipse属性> Java构建路径>项目>添加> ProjB)。每一件事情编译确定在Eclipse中,但是当我运行ProjA我得到一个错误:

I have two android projects, ProjA requires ProjB (in Eclipse Properties > Java Build Path > Projects > Add > ProjB). Every thing compiles ok in Eclipse, but when I run ProjA I get an error:

找不到方法XXX,引用   从方法YYY。

Could not find method XXX, referenced from method YYY.

其中XXX - 从ProjB方法

Where XXX - is the method from ProjB.

我怎样才能解决这个设置?

How can I fix the settings?

推荐答案

我有一个类似的问题,使用外部罐(对我来说openCSV)时。 究其原因我有一个问题是由于ADT 17(或以上)的变化。 我需要做的,解决这个问题是

I have a similar problem when using external jar (in my case openCSV). The reason I had a problem was due to a change in ADT 17 (or above). What I needed to do to resolve the problem was

  1. 在Eclipse中去属性 - > Java构建路径 - >订单和出口
  2. 记住我的罐子。
  3. 将罐子名列榜首。

,可知该溶液 <一href="http://stackoverflow.com/questions/10005206/twitter4j-androidruntime446-java-lang-noclassdeffounderror-twitter4j-http">in以下页面其中提到一个非常好的文章。

The solution was found in the following page which reference to a very good article.

这篇关于找不到方法XXX,从方法YYY引用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆