试图源文件导入到Eclipse中有那么多的错误 [英] So many errors when trying to import source files into eclipse

查看:350
本文介绍了试图源文件导入到Eclipse中有那么多的错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我完全没有经验,最近我已经聘请了一个承包商来开发一个Android应用程序适合我。

I am completely inexperienced, and lately I have hired a contractor to develop an android app for me.

他寄给我的源$ C ​​$ CS和APK文件,但我需要验证源$ C ​​$ CS是否是合法的,所以我试图编译并重新创建APK文件。

He sent me the source codes and the APK files, but I need to verify whether the source codes are legit, so I am trying to compile them and recreate the APK file.

到目前为止,我已经安装了Eclipse,ADT插件,并没有在我的Mac上安装了Java的东西。

So far I have installed eclipse, ADT Plugin, and did install the Java thing on my mac.

然而,当我终于设法打开源$ C ​​$ CS了,有很多错误,我不知道在哪里可以编译它。我的意思是,有一个按钮,我可以点击?

However when I finally manage to open the source codes up, there are many errors, and I don't know where I can compile it. I mean, is there a button I can click?

我已附加了错误的图像。
http://i.stack.imgur.com/mfhwN.png

I have attached a picture of the errors. http://i.stack.imgur.com/mfhwN.png

我看过其他地方Eclipse将自动编译APK文件并将其保存在bin文件夹。但是,有没有我的情况下,任何APK文件。

I read elsewhere that eclipse will automatically compile the APK file and save it in the bin folder. However there isn't any APK file in my case.

我上运行的Mac版本10.9。

I am running on Mac Version 10.9.

请帮助!

推荐答案

看来你已经错过了一些jar文件或库文件。
右键单击项目在Eclipse中,属性边栏上选择Java构建路径 - >排序和导出选项卡。在那里,你可以看到,如果任何的jar文件丢失。如果删除任何然后从Workspace-项目文件夹中的jar文件。

It seems you have missed some of the jar files or library files. Right click on Project in Eclipse, Properties on side bar select "Java Build Path" -> "Order and Export" tab. There you can see if any jar files are missing. delete if any and select the jar files from Workspace- project folder.

这篇关于试图源文件导入到Eclipse中有那么多的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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