@@ -37,7 +37,7 @@ file a new issue.
37
37
* [ Option 1: Manual install] ( #option-1-manual-install )
38
38
* [ Option 2: Automated install with Boxstarter] ( #option-2-automated-install-with-boxstarter )
39
39
* [ Building Node.js] ( #building-nodejs-2 )
40
- * [ Android/Android-based devices (e.g. Firefox OS) ] ( #androidandroid-based-devices-eg-firefox-os )
40
+ * [ Android] ( #android )
41
41
* [ ` Intl ` (ECMA-402) support] ( #intl-ecma-402-support )
42
42
* [ Build with full ICU support (all locales supported by ICU)] ( #build-with-full-icu-support-all-locales-supported-by-icu )
43
43
* [ Unix/macOS] ( #unixmacos )
@@ -647,22 +647,25 @@ To test if Node.js was built correctly:
647
647
> Release\n ode -e " console.log('Hello from Node.js', process.version)"
648
648
```
649
649
650
- ### Android/Android-based devices (e.g. Firefox OS)
650
+ ### Android
651
651
652
652
Android is not a supported platform. Patches to improve the Android build are
653
653
welcome. There is no testing on Android in the current continuous integration
654
654
environment. The participation of people dedicated and determined to improve
655
655
Android building, testing, and support is encouraged.
656
656
657
657
Be sure you have downloaded and extracted
658
- [ Android NDK] ( https://developer.android.com/tools/sdk/ ndk/index.html ) before in
658
+ [ Android NDK] ( https://developer.android.com/ndk ) before in
659
659
a folder. Then run:
660
660
661
661
``` console
662
- $ ./android-configure /path/to/your/android-ndk
663
- $ make
662
+ $ source ./android-configure /path/to/your/android-ndk target_arch android_sdk_version
663
+ $ make -j4
664
664
```
665
665
666
+ The Android SDK version should be at least 24 (Android 7.0) and the target
667
+ architecture supports \[ arm, arm64/aarch64, x86, x86\_ 64] .
668
+
666
669
## ` Intl ` (ECMA-402) support
667
670
668
671
[ Intl] ( https://github.com/nodejs/node/blob/HEAD/doc/api/intl.md ) support is
0 commit comments