Since it already ran tools from the android directory, I know the sdk
directory is set correctly. It looks like in the case of zipalign,
however, it's not getting expanded and it's instead using the root for
my code. Can someone more familiar with ant than me explain why I'm
getting this error? I've included a full session log here:
http://pastebin.com/pXn3j4Ap
Thanks,
- Michael
Indeed I get the same message:
Cannot run program
"/home/nico/src/ankidroid/${sdk.dir}/tools/zipalign":
java.io.IOException: error=2, No such file or directory
I just tried adding this line to my local.properties:
sdk.dir=../../programs/android-sdk
and it works.
But it depends on where people install their SDK, so not a good solution.
You might want to use this dirty solution, but we must find a real solution.
I did not this problem earlier because I mostly use Eclipse recently.
Do you have problems building with Eclipse instead of Ant?
I filed this bug:
http://code.google.com/p/ankidroid/issues/detail?id=110
Cheers!
Nicolas Raoul
--
You received this message because you are subscribed to the Google Groups "AnkiDroid" group.
To post to this group, send an email to anki-a...@googlegroups.com.
To unsubscribe from this group, send email to anki-android...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/anki-android?hl=en-GB.
It works. I have pushed to my master.
Cheers!
Nicolas
Can you send me your deck? I will try here.
Does the country-capitals.anki deck works?
Cheers!
Nicolas
I could not reproduce the problem with the deck you sent me, using
Git's trunk. It works as expected.
Glad to know that switching to the new_design branch solves the problem :-)
When we merge new_design to trunk, please test again and let us know!
Cheers!
Nicolas