The last message of error is quite obvious, it said android-2.1/tools/
dx, not found.
Yes, it correct in my sdk directory i dont have that tool. I have the
latest sdk, but it seems it dx tools is not there.
So my question is anyone of have tried to build android project use
ant?
And could you check your android sdk directory, is there dx tools
found?
Thanks and Happy Coding,
$ ls tools
NOTICE.txt* dmtracedump* layoutopt* traceview*
adb* draw9patch* lib/ zipalign*
android* emulator* mksdcard*
apkbuilder* hierarchyviewer* source.properties*
ddms* hprof-conv* sqlite3*
these all my tools in my sdk directory, i think i missed aapt too.
I downloaded the sdk from here http://developer.android.com/sdk/index.html
(latest sdk 2.1).
Sure, it will be great if i just tried your dx.jar, just try an
error :).
FIY, i am using freebsd, I dont installed any IDE on this laptop.
Thanks for the responds.
Yes, I listed outside of platform folder, I think I got the 'hint' already, let me try to configure back the path, I think ant is looking to wrong path.
Thanks ,
On Mar 2, 2010 6:25 AM, "Bernie Eng" <ebe...@gmail.com> wrote:
I just checked again, and I actually do have a file called dx. Question: are you listing the tools folder that is outside of the platform folder? That's not right. I only have these in the platform/tools folder:
aapt* aidl* dexdump* dx* lib/ NOTICE.txt
On Tue, Mar 2, 2010 at 2:19 PM, ykt <y.k.t...@gmail.com> wrote:
>
> I dont have dx.jar either,
LOL good then. Wouldn't have guessed it's due to a missing shell.
On Mar 2, 2010 2:56 PM, "Yasir Khalid" <y.k.t...@gmail.com> wrote:
Hei,
I got workaround, it found that dx script tool need bash shell.
And i dont installed bash (i use tcsh), so i just simple edit #/bin/bash to #/bin/sh (in dx).
I know bash and sh have different syntax, since installing bash is my last option, so i just blindly edit the dx file,
then it works, lucky me the dx script can be run under sh program.
$ant debug
...
BUILD SUCCESSFUL
Total time: 4 seconds
Thanks for the respond.
On Tue, Mar 2, 2010 at 2:33 PM, Yasir Khalid <y.k.t...@gmail.com> wrote:
>
> Yes, I listed outs...
--
- Yasir -