2 Replies Latest reply on Oct 25, 2016 3:07 PM by scon2016

    Step-by-step guide to building on ubuntu server


      Dear users,


      I want to compile all my apps created by phonegap on my computer, with OS ubuntu server.


      To install phonegap, I run these commands:

      apt-get update

      apt-get install nodejs npm git ant openjdk-7-jre openjdk-7-jdk

      ln -s /usr/bin/nodejs /usr/bin/node

      npm install -g phonegap

      npm update -g

      tar -zxvf /home/ufficio/Scrivania/android-sdk_r24.4.1-linux.tgz -C /usr/local/


      After I finished the programming of my app, I run this command:

      phonegap platform add android

      phonegap platform add ios

      phonegap platform add wp8


      Now, I want to build the app for Android, iOS and Windows Phone 8.1, with the keys I want.


      I tried to run this command:

      phonegap build android


      but the server returned this:




      How can I fix this issue for Android, and how I can build the app also for ios and wp8?