Installation von PhoneGap, Fehler beim ausführen von Befehl 'ant'

Bei der Installation von PhoneGap über nodeJS ich bekam eine Fehlermeldung beim ausführen meiner app (Installation von phonegap und dem erstellen der app gearbeitet):

C:\Users\arko\my-app>phonegap run android
[phonegap] detecting Android SDK environment...
[phonegap] using the local environment
[phonegap] adding the Android platform...
    [error] An error occured during creation of android sub-project.

C:\Users\arko\.cordova\lib\android\cordova\3.3.0\bin\node_modules\q\q.js:126
                throw e;
                      ^
Error: ERROR : executing command 'ant', make sure you have ant installed and add
ed to your path.
    at C:\Users\arko\.cordova\lib\android\cordova\3.3.0\bin\lib\check_reqs.js:47
:27
    at ChildProcess.exithandler (child_process.js:641:7)
    at ChildProcess.EventEmitter.emit (events.js:98:17)
    at maybeClose (child_process.js:743:16)
    at Socket.<anonymous> (child_process.js:956:11)
    at Socket.EventEmitter.emit (events.js:95:17)
    at Pipe.close (net.js:465:12)

So bemerkte ich, ich hatte nie ANT installiert, also Tat ich es. Ich folgte diesem tutorial: http://cleancodedevelopment-qualityseal.blogspot.nl/2012/11/how-to-install-phonegap-for-android.html und alles getan, was es sagte.

Dem Teil sagt, Sie haben, um Dinge hinzufügen, um die Path-variable, Sie sagte nur Folgendes hinzufügen: %ANT_HOME%\bin; aber mein Weg endet mit diesem: C:\Program Files\Windows Live\Shared - so fügte ich diese hinzu: ;%ANT_HOME%\bin;

Versucht, führen Sie die android-app erneut, und bekam den gleichen Fehler. Ich habe es mit diesem Befehl:

phonegap run android

Was mache ich falsch?

Dank!

Schreibe einen Kommentar