Hi bricemason,

thanks for your support and help .

let me show more details
first i installed ant :
ant.jpg

and phonegap folder in C:\phonegap-2.4.0

and builder in C:\sencha-cordova-builder-master

cordova.properties file :
Code:
cordova.lib=\\phonegap-2.4.0

# files used to determine when building has finished
cordova.flags.built.android=${basedir}\\_android.built
cordova.flags.built.ios=${basedir}\\_ios.built
cordova.flags.deploy.android=${basedir}\\_android.deploy
cordova.flags.deploy.ios=${basedir}\\_ios.deploy

# android tools and resources
cordova.android.tools=${cordova.lib}\\lib\\android
cordova.android.tools.bin=${cordova.android.tools}\\bin

# android project
cordova.android.project=${build.dir}\\android
cordova.android.project.www=${cordova.android.project}\\assets\\www
cordova.android.project.name=${app.name}
cordova.android.project.namespace=com.example.${cordova.android.project.name}
cordova.android.project.js.name=cordova-android.js
cordova.android.project.js=${basedir}\\${cordova.android.project.js.name}
cordova.android.project.app.json.name=app-android.json
cordova.android.project.app.json=${basedir}\\${cordova.android.project.app.json.name}

# ios tools and resources
cordova.ios.tools=${cordova.lib}\\lib\\ios
cordova.ios.tools.bin=${cordova.ios.tools}\\bin

# ios project
cordova.ios.project=${build.dir}\\ios
cordova.ios.project.www=${cordova.ios.project}\\www
cordova.ios.project.name=${app.name}
cordova.ios.project.namespace=com.example.${cordova.ios.project.name}
cordova.ios.project.js.name=cordova-ios.js
cordova.ios.project.js=${basedir}\\${cordova.ios.project.js.name}
cordova.ios.project.app.json.name=app-ios.json
cordova.ios.project.app.json=${basedir}\\${cordova.ios.project.app.json.name}
builder.xml file :
Code:
<?xml version="1.0" encoding="utf-8"?>
<project name="testbuilder" default=".help">
    <import file="${basedir}/.sencha/app/build-impl.xml"/>
    <import file="/sencha-cordova-builder-master/build-cordova.xml" />
    <target name="-after-build" depends="-build-android" />
    
    <target name="-after-build-android">
    
    <exec executable="ant">
        <arg value="-buildfile" />
        <arg value="${cordova.android.project}/build.xml" />
        <arg value="debug" />
    </exec>

    <exec executable="adb">
        <arg value="install" />
        <arg value="-r" />
        <arg value="${cordova.android.project}/bin/${app.name}-debug.apk" />
    </exec>
    </target>
    <!--
    The following targets can be provided to inject logic before and/or after key steps
    of the build process:

        The "init-local" target is used to initialize properties that may be personalized
        for the local machine.

            <target name="-before-init-local"/>
            <target name="-after-init-local"/>

        The "clean" target is used to clean build output from the build.dir.

            <target name="-before-clean"/>
            <target name="-after-clean"/>

        The general "init" target is used to initialize all other properties, including
        those provided by Sencha Cmd.

            <target name="-before-init"/>
            <target name="-after-init"/>
            
        The "page" target performs the call to Sencha Cmd to build the 'all-classes.js' file.

            <target name="-before-page"/>
            <target name="-after-page"/>

        The "build" target performs the call to Sencha Cmd to build the application.

            <target name="-before-build"/>
            <target name="-after-build"/>
    -->

</project>

but i still see the folowwing error :
Code:
[ERR]           BUILD FAILED
[ERR]           com.sencha.exceptions.BasicException: The following error occurr
ed while executing this line:
[ERR]           C:\wamp\www\testbuilder\build.xml:10: Execute failed: java.io.IO
Exception: Cannot run program "ant": CreateProcess error=2, The system cannot fi
nd the file specified
[ERR]                   at com.sencha.exceptions.BasicException.wrap(BasicExcept
ion.java:43)
[ERR]                   at com.sencha.cli.Command.dispatch(Command.java:104)
[ERR]                   at com.sencha.cli.Commands.dispatch(Commands.java:49)
[ERR]                   at com.sencha.cli.AbstractCommand.dispatch(AbstractComma
nd.java:182)
[ERR]                   at com.sencha.ant.SenchaCommandTask.doExecute(SenchaComm
andTask.java:58)
[ERR]                   at com.sencha.ant.BaseAntTask.execute(BaseAntTask.java:2
2)
[ERR]                   at org.apache.tools.ant.UnknownElement.execute(UnknownEl
ement.java:291)
[ERR]                   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native M
ethod)
[ERR]                   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown S
ource)
[ERR]                   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unkno
wn Source)
[ERR]                   at java.lang.reflect.Method.invoke(Unknown Source)
[ERR]                   at org.apache.tools.ant.dispatch.DispatchUtils.execute(D
ispatchUtils.java:106)
[ERR]                   at org.apache.tools.ant.Task.perform(Task.java:348)
[ERR]                   at org.apache.tools.ant.Target.execute(Target.java:392)
[ERR]                   at org.apache.tools.ant.Target.performTasks(Target.java:
413)
[ERR]                   at org.apache.tools.ant.Project.executeSortedTargets(Pro
ject.java:1399)
[ERR]                   at org.apache.tools.ant.Project.executeTarget(Project.ja
va:1368)
[ERR]                   at org.apache.tools.ant.helper.DefaultExecutor.executeTa
rgets(DefaultExecutor.java:41)
[ERR]                   at org.apache.tools.ant.Project.executeTargets(Project.j
ava:1251)
[ERR]                   at com.sencha.ant.AntRunner.run(AntRunner.java:156)
[ERR]                   at com.sencha.ant.AntRunner.run(AntRunner.java:72)
[ERR]                   at com.sencha.command.BasePluginCommands$BasePluginComma
nd.run(BasePluginCommands.java:87)
[ERR]                   at com.sencha.command.BasePluginCommands$BasePluginComma
nd.run(BasePluginCommands.java:91)
[ERR]                   at com.sencha.command.BasePluginCommands$BaseNamePathCom
mand.run(BasePluginCommands.java:135)
[ERR]                   at com.sencha.command.app.AppCommands$BuildCommand.execu
te(AppCommands.java:106)
[ERR]                   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native M
ethod)
[ERR]                   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown S
ource)
[ERR]                   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unkno
wn Source)
[ERR]                   at java.lang.reflect.Method.invoke(Unknown Source)
[ERR]                   at com.sencha.cli.Command.dispatch(Command.java:78)
[ERR]                   at com.sencha.cli.Commands.dispatch(Commands.java:49)
[ERR]                   at com.sencha.cli.Commands.dispatch(Commands.java:49)
[ERR]                   at com.sencha.command.Sencha.main(Sencha.java:71)
[ERR]           Caused by: C:\sencha-cordova-builder-master\build-cordova-androi
d.xml:40: The following error occurred while executing this line:
[ERR]           C:\wamp\www\testbuilder\build.xml:10: Execute failed: java.io.IO
Exception: Cannot run program "ant": CreateProcess error=2, The system cannot fi
nd the file specified
[ERR]                   at org.apache.tools.ant.ProjectHelper.addLocationToBuild
Exception(ProjectHelper.java:551)
[ERR]                   at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:44
4)
[ERR]                   at org.apache.tools.ant.taskdefs.CallTarget.execute(Call
Target.java:105)
[ERR]                   at org.apache.tools.ant.UnknownElement.execute(UnknownEl
ement.java:291)
[ERR]                   at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown S
ource)
[ERR]                   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unkno
wn Source)
[ERR]                   at java.lang.reflect.Method.invoke(Unknown Source)
[ERR]                   at org.apache.tools.ant.dispatch.DispatchUtils.execute(D
ispatchUtils.java:106)
[ERR]                   at org.apache.tools.ant.Task.perform(Task.java:348)
[ERR]                   at org.apache.tools.ant.Target.execute(Target.java:392)
[ERR]                   at org.apache.tools.ant.Target.performTasks(Target.java:
413)
[ERR]                   at org.apache.tools.ant.Project.executeSortedTargets(Pro
ject.java:1399)
[ERR]                   at org.apache.tools.ant.Project.executeTarget(Project.ja
va:1368)
[ERR]                   at org.apache.tools.ant.helper.DefaultExecutor.executeTa
rgets(DefaultExecutor.java:41)
[ERR]                   at org.apache.tools.ant.Project.executeTargets(Project.j
ava:1251)
[ERR]                   at com.sencha.ant.AntRunner.run(AntRunner.java:156)
[ERR]                   at com.sencha.ant.AntRunner.run(AntRunner.java:80)
[ERR]                   at com.sencha.command.ant.AntCommand.execute(AntCommand.
java:75)
[ERR]                   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native M
ethod)
[ERR]                   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown S
ource)
[ERR]                   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unkno
wn Source)
[ERR]                   at java.lang.reflect.Method.invoke(Unknown Source)
[ERR]                   at com.sencha.cli.Command.dispatch(Command.java:78)
[ERR]                   ... 31 more
[ERR]           Caused by: C:\wamp\www\testbuilder\build.xml:10: Execute failed:
 java.io.IOException: Cannot run program "ant": CreateProcess error=2, The syste
m cannot find the file specified
[ERR]                   at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTa
sk.java:675)
[ERR]                   at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTa
sk.java:498)
[ERR]                   at org.apache.tools.ant.UnknownElement.execute(UnknownEl
ement.java:291)
[ERR]                   at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown S
ource)
[ERR]                   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unkno
wn Source)
[ERR]                   at java.lang.reflect.Method.invoke(Unknown Source)
[ERR]                   at org.apache.tools.ant.dispatch.DispatchUtils.execute(D
ispatchUtils.java:106)
[ERR]                   at org.apache.tools.ant.Task.perform(Task.java:348)
[ERR]                   at org.apache.tools.ant.Target.execute(Target.java:392)
[ERR]                   at org.apache.tools.ant.Target.performTasks(Target.java:
413)
[ERR]                   at org.apache.tools.ant.Project.executeSortedTargets(Pro
ject.java:1399)
[ERR]                   at org.apache.tools.ant.helper.SingleCheckExecutor.execu
teTargets(SingleCheckExecutor.java:38)
[ERR]                   at org.apache.tools.ant.Project.executeTargets(Project.j
ava:1251)
[ERR]                   at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:44
2)
[ERR]                   ... 52 more
[ERR]           Caused by: java.io.IOException: Cannot run program "ant": Create
Process error=2, The system cannot find the file specified
[ERR]                   at java.lang.ProcessBuilder.start(Unknown Source)
[ERR]                   at java.lang.Runtime.exec(Unknown Source)
[ERR]                   at org.apache.tools.ant.taskdefs.Execute$Java13CommandLa
uncher.exec(Execute.java:862)
[ERR]                   at org.apache.tools.ant.taskdefs.Execute.launch(Execute.
java:481)
[ERR]                   at org.apache.tools.ant.taskdefs.Execute.execute(Execute
.java:495)
[ERR]                   at org.apache.tools.ant.taskdefs.ExecTask.runExecute(Exe
cTask.java:631)
[ERR]                   at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTa
sk.java:672)
[ERR]                   ... 65 more
[ERR]           Caused by: java.io.IOException: CreateProcess error=2, The syste
m cannot find the file specified
[ERR]                   at java.lang.ProcessImpl.create(Native Method)
[ERR]                   at java.lang.ProcessImpl.<init>(Unknown Source)
[ERR]                   at java.lang.ProcessImpl.start(Unknown Source)
[ERR]                   ... 72 more
[ERR]           Total time: 49 seconds
[ERR]           com.sencha.exceptions.BasicException: The following error occurr
ed while executing this line:
C:\wamp\www\testbuilder\build.xml:10: Execute failed: java.io.IOException: Canno
t run program "ant": CreateProcess error=2, The system cannot find the file spec
ified
i
and i dont see apk file in bin folder

i'm sure the phonegap builder working very fine and its great , but i dont know what happening in my machien

so can you please help me ?