[英]eclipse library imports jar file issue
I have a eclipse related question which maybe someone could help me with. 我有一个与日食有关的问题,也许有人可以帮助我。 I have download and extracted a library from github and want to import it into my application.
我已经从github下载并提取了一个库,并希望将其导入到我的应用程序中。 It gives you two test applications with the library.
该库为您提供了两个测试应用程序。 I make new projects from the existing file systems in eclipse but the two sample projects have a big red exclamation mark next to them and won't run.
我使用eclipse中的现有文件系统创建了新项目,但是这两个示例项目在它们旁边都有一个红色的感叹号,并且无法运行。 It says that it can't find the jar file in the library.
它说它在库中找不到jar文件。 When I look in the library's bin folder there is no jar file there.
当我查看库的bin文件夹时,那里没有jar文件。 I don't really know what I am doing wrong.
我真的不知道我在做什么错。 I am not extracting the file from github properly?
我没有从github正确提取文件吗? Do I have to create my own jar file from the library?
我是否需要从库中创建自己的jar文件? I remember having this problem before with another library I tried to use.
我记得在尝试使用另一个库之前遇到了这个问题。 Any help would be much appreciated!
任何帮助将非常感激! Cheers, Sam.
干杯,山姆。 PS this is the library I am trying to use https://github.com/robotmedia/AndroidBillingLibrary/
PS这是我正在尝试使用的库https://github.com/robotmedia/AndroidBillingLibrary/
if you're getting a library project from github you should set it a "isLibrary" from properties->android
and then use it as library in your project also from properties->android
如果你从GitHub获取库项目,你应该从设置了“isLibrary”
properties->android
,然后在你的项目中也用它作为库从properties->android
I hope this is what you're looking for 我希望这是你要找的
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.