phonegap-android - erzeugen-Befehl scheiterte mit exit-code 8 - linux

Habe ich einige googleing finde aber nichts entsprechenden.
Jede Hilfe zu schätzen. Versuchen Sie es mit einer nackten vm, um sicher zu sein
ohne nodejs installieren oder Abhängigkeitsproblem.

Christian

sudo apt-get install nodejs
sudo apt-get install nodejs-legacy 
sudo npm install -g phonegap 
sudo npm install -g cordova
sudo apt-get install ant

chris@mint16 ~/project/dev $ phonegap create my-app
[phonegap] create called with the options /home/chris/project/dev/my-app       com.phonegap.helloworld HelloWorld
[phonegap] Customizing default config.xml file
[phonegap] created project at /home/chris/project/dev/my-app
chris@mint16 ~/project/dev $ cd my-app/
chris@mint16 ~/project/dev/my-app $ phonegap run android
[phonegap] detecting Android SDK environment...
[phonegap] using the local environment
[phonegap] adding the Android platform...

/home/chris/.cordova/lib/android/cordova/3.5.0/bin/node_modules/q/q.js:126
                throw e;
                      ^
Error: An error occurred while listing Android targets
at /home/chris/.cordova/lib/android/cordova/3.5.0/bin/lib/check_reqs.js:87:29
at _rejected  (/home/chris/.cordova/lib/android/cordova/3.5.0/bin/node_modules/q/q.js:808:24)
at /home/chris/.cordova/lib/android/cordova/3.5.0/bin/node_modules/q/q.js:834:30
at Promise.when    (/home/chris/.cordova/lib/android/cordova/3.5.0/bin/node_modules/q/q.js:1079:31)
at Promise.promise.promiseDispatch (/home/chris/.cordova/lib/android/cordova/3.5.0/bin/node_modules/q/q.js:752:41)
at /home/chris/.cordova/lib/android/cordova/3.5.0/bin/node_modules/q/q.js:574:44
at flush (/home/chris/.cordova/lib/android/cordova/3.5.0/bin/node_modules/q/q.js:108:17)
at process._tickCallback (node.js:415:13)
{ [Error: /home/chris/.cordova/lib/android/cordova/3.5.0/bin/create: Command failed with   exit code 8] code: 8 }
[error] /home/chris/.cordova/lib/android/cordova/3.5.0/bin/create: Command failed with  exit code 8
  • Überprüfen Sie meine Antwort hier : stackoverflow.com/a/24281663/1785412
  • Hmm cordova installiert ist. Jetzt habe ich das hello world-Beispiel und immer diese Ausnahme von cordova. Aber mit cordova platform add android ich bekam wieder dieses q.js:126 Ausnahme?
InformationsquelleAutor Christian | 2014-06-24
Schreibe einen Kommentar