[英]How do I install ActiveAndroid for use with Eclipse?
I'm learning Android and Java at the same time, so sometimes I get hung up on the Java side of things. 我同时学习Android和Java,因此有时我会迷上Java。
I'm trying to use the ORM library ActiveAndroid, but the archive I downloaded doesn't contain a .jar file, just a libs folder and a src folder. 我正在尝试使用ORM库ActiveAndroid,但是我下载的档案文件不包含.jar文件,仅包含libs文件夹和src文件夹。 How do I import/install/incorporate this into my Eclipse Android project?
如何将其导入/安装/合并到我的Eclipse Android项目中?
You have several options: 您有几种选择:
Following resources may help you 以下资源可能对您有帮助
I built the jar by running ant
in the ActiveAndroid root directory. 我通过在ActiveAndroid根目录中运行
ant
来构建jar。 ActiveAndroid.jar is then located in the dist
directory. ActiveAndroid.jar然后位于
dist
目录中。 (The build.xml file is an ant build script) (build.xml文件是一个蚂蚁构建脚本)
Simpler solution worked for me (have only "plain" Eclipse, Indigo SR2): 更简单的解决方案为我工作(只有“普通” Eclipse,Indigo SR2):
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.