简体   繁体   English

Android库错误

[英]Android libs error

I am using Parse.com and I upgraded the parse SDK from 1.2.4 to 1.3.0. 我正在使用Parse.com,并将parse SDK从1.2.4升级到1.3.0。 I have deleted the 1.2.4 files from the libs folder and pasted the 1.3.0 files to libs folder. 我已经从libs文件夹中删除了1.2.4文件,并将1.3.0文件粘贴到了libs文件夹中。 When I am trying to run my app now it is crashing with no error. 现在,当我尝试运行我的应用程序时,它崩溃了,没有错误。 After debugging I found out that when I try to open any declaration of Parse class files it shows me this: 调试之后,我发现当我尝试打开任何Parse类文件的声明时,它会向我显示: 在此处输入图片说明

Here is the build path screenshot: 这是构建路径屏幕截图: 在此处输入图片说明

I have tried to clean the project, closed and opened eclipse. 我试图清理项目,关闭和打开月食。

I am stucked! 我被卡住了! Any help would be appreciated 任何帮助,将不胜感激

Please verify the BuildPath as well. 请同时验证BuildPath。

Right Click on the Project -> BuildPath -> Configure Build Path

Check to see there is .jar files or not. 检查是否存在.jar文件。 If there are no .jar files, Upload using "Add Jars" button from your libs directory. 如果没有.jar文件,请从您的libs目录中使用“添加Jars”按钮上传。 Once Build Path is configured, clean and run the Project. 配置了构建路径后,清理并运行项目。 Hope this will help you. 希望这会帮助你。

From your figure you posted, it just that your editor cannot find source for your jar file. 从您发布的图形来看,只是您的编辑器无法找到jar文件的源。 But in your figure i do see javadoc. 但是在您的图中,我确实看到了javadoc。 In the same page you will see a button called "Attach source". 在同一页面上,您将看到一个名为“附加源”的按钮。 You can click that button to locate manually your javadoc. 您可以单击该按钮来手动找到您的javadoc。 With this you should be able to go to source code. 有了这个,您应该能够找到源代码。

I found the solution, but it was not related to the libs file or to the build path. 我找到了解决方案,但它与libs文件或构建路径无关。 The problem was in the manifast, had to remove android:noHistory="true" from my activity tag and the every thing worked fine. 问题出在manifast,不得不从我的活动标签中删除android:noHistory =“ true”,并且一切正常。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM