../android-8/android.jar没有源代码连接的JAR文件 [英] The Jar file ../android-8/android.jar has no source attachment

查看:312
本文介绍了../android-8/android.jar没有源代码连接的JAR文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我碰到这个没有源代码连接问题,当我在调试项目,但是当我运行Android程序而不调试启用后,程序将运行没有任何麻烦。即使在我手动连接jar文件,它仍然报道,properties.class找不到!我应该怎么做这个问题?这究竟是什么原因呢?谢谢!

I came across this no source attachment problem when I was debugging the project, but when I run the android program without debugging enabled, the program would run without any trouble. Even after I attached the jar file manually, it still reported that properties.class could not be found! What should I do with this problem? What is the reason for this? thanks!!!

丹尼尔

推荐答案

在调试模式下的应用程序尝试去通过所有的渠道。有些源来自Android框架系统(Android的SDK),其中已建成的部分。因此,他们来到你的系统内置的文件(有没有源文件),因此,当您尝试逐步完成从Android框架功能的系统找不到这个功能的源(但你仍然有这个功能的二进制文件)。

In the debug mode your application try to go through all the sources. Some of these sources are come from parts of Android framework system (Android SDK) which has been built. Thus, they come to your system as a built files (there are no source files) and thus, when you try to step through a function from Android framework the system cannot find the sources of this function (but still you have binaries of this function).

要避免在调试过程中这个问题,你可以下载并附加Android系统的源代码,也可以使用Android的源插件(HTTP://$c$c.google.com/p/adt-addons/)

To avoid this problem during the debug you can download and attach the sources of Android system or you can use Android Sources plugin (http://code.google.com/p/adt-addons/)

这篇关于../android-8/android.jar没有源代码连接的JAR文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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