2

I'm learning Android and Java at the same time, so sometimes I get hung up on the Java side of things.

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. How do I import/install/incorporate this into my Eclipse Android project?

talloaktrees
  • 3,508
  • 6
  • 28
  • 43

3 Answers3

2

You have several options:

Following resources may help you

Md Mahbubur Rahman
  • 2,065
  • 1
  • 24
  • 36
1

I built the jar by running ant in the ActiveAndroid root directory. ActiveAndroid.jar is then located in the dist directory. (The build.xml file is an ant build script)

vish
  • 2,436
  • 1
  • 24
  • 20
1

Simpler solution worked for me (have only "plain" Eclipse, Indigo SR2):

  1. File->New->Project...
  2. Java Project from Existing Ant Buildfile
  3. Select build.xml
esteewhy
  • 1,300
  • 13
  • 23