Building ODK Collect

Hello!

I'm trying to build ODK Collect but I have run into some problems. I
have tried searching for build instructions on the wiki and on the
mailing lists but I couldn't find any.

Here is what I'm doing:

$ android update project --path . --target 2
$ ant debug

But the last command gives me a load of errors about missing packages:
http://pastebin.com/kSF2WVdm

What am I doing wrong?

··· -- Michael Budde

michael,

the ant debug script isn't very clever and so doesn't find your lib
folder. before you run ant debug, run this in the root of your repo.
echo "external.libs.dir=lib" > build.properties

as an aside, the eclipse ddms plugin for android is pretty nice. might
want to check that out before continuing with the cli tools.

hope that helps,

yaw

··· On Thu, Oct 28, 2010 at 15:00, Michael Budde wrote: > Hello! > > I'm trying to build ODK Collect but I have run into some problems. I > have tried searching for build instructions on the wiki and on the > mailing lists but I couldn't find any. > > Here is what I'm doing: > > $ android update project --path . --target 2 > $ ant debug > > But the last command gives me a load of errors about missing packages: > http://pastebin.com/kSF2WVdm > > What am I doing wrong? > > -- > Michael Budde > >

michael,

the ant debug script isn't very clever and so doesn't find your lib
folder. before you run ant debug, run this in the root of your repo.
echo "external.libs.dir=lib" > build.properties

Awesome, thank you!

as an aside, the eclipse ddms plugin for android is pretty nice. might
want to check that out before continuing with the cli tools.

Hmm, perhaps I should. I'm an happy Emacs user though, so I would prefer
if I didn't have to depend on Eclipse for too many things.

··· On Fri, 2010-10-29 at 08:16 -0700, Yaw Anokwa wrote:

hope that helps,

yaw

On Thu, Oct 28, 2010 at 15:00, Michael Budde mbudde@gmail.com wrote:

Hello!

I'm trying to build ODK Collect but I have run into some problems. I
have tried searching for build instructions on the wiki and on the
mailing lists but I couldn't find any.

Here is what I'm doing:

$ android update project --path . --target 2
$ ant debug

But the last command gives me a load of errors about missing packages:
http://pastebin.com/kSF2WVdm

What am I doing wrong?

--
Michael Budde mbudde@gmail.com