English 中文(简体)
Unable to Debug Library Project with ADT v14 - Source Not Creat
原标题:Unable to Debug Library Projects with ADT v14 - Source Not Found

自从更新我目前的项目以使用Eclipse的新R14工具以来,Im现在无法阻止我在图书馆项目中存在的任何法典。

当我打上我的图书馆项目代码的一个破碎点时,我没有开张原始来源档案的Eclipse,而是用“没有发现”的电文,打开了JAR内所载原始资料的读本。

我正在寻找解决办法,但还没有取得任何进展。 还有没有人提出建议? 它痛苦不堪,无法解冻。

http://www.ohchr.org。

这个问题已经回头,我再也不能 de。 我没有改动过任何项目环境或东西。 非常令人沮丧。

最佳回答

在对这一问题进行研究之后,我走过了这个read子,另一个.了我。 我已经把理发拉开。

由此可见,问题在于您的项目的建立次序(地雷是任何方面)。 由于ADT/SDK v14改变了图书馆项目的提法,因此建筑秩序需要纠正。 确保你们所有的图书馆都首先使用。 我只是把我每个项目的“弧”和“基因”夹移到底,现在它首先建造了图书馆,我得以通过主要项目对图书馆档案的来源进行ug击。

在Eclipse,有人没有知道什么地方这样做,就正确地点击了你的项目和“Build Path”,然后点击“Configure Building Path”。 然后,在“Order and Export”表上,将贵项目的双倍数移至贵图书馆名单上的底层。 我对我的所有项目和图书馆项目都这样做。

你们还可以在全球范围从Windows->、Pviss->、General->、Workspace->、Build Order和将你的图书馆项目推向上。 我认为,每个项目所确定的建筑秩序将压倒一切,尽管如此,你可能希望这两个地方都这样做,以便现在和今后的项目解决这一问题。

问题回答

我今天在一个项目中也存在同样的问题。 该项目包括两个图书馆附属设施。 我不能在偷渡期间看到密码,在采用压倒性方法时,不能提出适当的理由。

首先,问题表现在表明根切身为源头。 检查这一问题是否与你的项目一样,开放安乐团,并检查贵图书馆的附属物。 定位道路是/图书馆项目名称/基因。

如果这也是你的问题,那么你就会去处理每个图书馆项目的订单和出口表,并将基因项目移至弧项目下。 当你点击KOK Eclipse时,当你检查了信安的属性时,所在地的道路应当说: 公开点击受抚养人,并在杰尔开门。 它应当显示来源。

我正在使用ADT plugin 20.0.3 和A SDK工具20.0.3 和AndanSDK平台工具14。

The following worked for me on Eclipse Juno:

在项目不动产建设中 途径:

  • In the Projects tab, added my library projects.
  • In the Order and Export tab, moved my library projects to the top, and checked them

如果没有相关,但安的SDK工具是20.0.3,安的SDK平台工具是14。

I assume you are opeining library project and there you put brakepoint. Try this: On main project open Library Projects->[yourlibrary.jar]->[yourfile.class] from Package Explorer, and then in .class file put brakepoints. This works for me at least :)

有时我会这样做。 我不肯定原因,但解决办法是:

取消主要项目。 纽约总部 Closs Eclipse 删除图书馆项目(开放式Eclipse——图书馆项目Wait)的杰尔档案,以汇编主要项目——进口

This problem also occurs with release 21 of ADT inside Juno. As a workaround, in the "debug" view of the debug perspective (where you see threads and method invocation traces), right click and edit source lookup path.





相关问题
In Eclipse, why doesn t "Show In" appear for non-Java files?

If I have a *java file open, I can right click on the source, scroll down to "Show In (Alt-Shift-W)", and select Navigator. If I have an *xml, *jsp, or pretty much anything besides a Java source ...

Eclipse: Hover broken in debug perspective

Since upgrading Eclipse (Galileo build 20090920-1017), hover in debug no longer displays a variable s value. Instead, hover behaves as if I were in normal Java perspective: alt text http://...

Eclipse smart quotes - like in Textmate

Happy Friday — Does anyone know if eclipse has the notion of smart quotes like Textmate. The way it works is to select some words and quote them by simply hitting the " key? I m a newbie here so be ...

Indentation guide for the eclipse editor

Is there a setting or plugin for eclipse that can show indentation guides in the editor? Something like the Codekana plugin for visual studio (not so fancy is also OK). Important that it works with ...

Adding jar from Eclipse plugin runtime tab

I want to add .jar files for plugin from the Runtime tab of manifest file. When I use the Add... button, I can see only sub-directories of the plugin project. So if I want to add same .jar file to ...

How to copy multiple projects into single folder in eclipse

I have two projects, Project1 and Project2. Now i want to copy this projects into eclipse workspace but i want these projects to be in a single folder like below. Eclipse Workspace -> Project -> ...

Java: Finding out what is using all the memory

I have a java application that runs out of memory, but I have no idea which code is allocating the memory. Is there an application with which I can check this? I use Eclipse.

热门标签