This repository has been archived by the owner on Apr 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7.3k
how to fix "Segmentation fault", execute node.js on Android device? #8455
Comments
What node.js version are you trying to run and how have you built it? |
node.js version is 0.11.14 ./android-configure |
Do you have gdb or some other debugger there? Could you try |
i try gdb
|
@jaffwu, JFYI your example works perfectly on my android device. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
su
node /sdcard/server.js
[1] + Stopped (signal)
[1] + Segmentation fault
android version: 2.3.3 root
server.js
var http = require('http');
http.createServer(function (req, res) {
res.writeHead(200, {'Content-Type': 'text/plain'});
res.end('Hello World\n');
}).listen(8081);
console.log('Server running at http://localhsot:8081/');
The text was updated successfully, but these errors were encountered: