How to run my node.js project on android?

Danny Fox提出了一个问题:How to run my node.js project on android?,或许与您遇到的问题类似。

回答者Ricardo Tomasi给出了该问题的处理方式:

The instructions for a build are missing from the website:

  1. Download it:


  2. Unpack it:

    tar xzf node-v0.8.1.tar.gz

  3. Go to the unpacked folder:

    cd node-v0.8.1/

  4. Run

    ./configure && make && sudo make install

You might need to install some dependencies like g++ or build-essential, curl and libssl-dev first.

There is also a packaged Android port but it doesn't seem to be actively mantained.

edit: apparently you need to modify some build options according to your device. A google search for "node android" + your model should give you more details. Here are they for the G1 and Galaxy S:



欢迎 JavaScript 爱好者