Android
How to install Nitrocid KS on Android

The tricky part is getting Nitrocid KS to run on Android phones and tablets, especially those that run the latest version of Android.
Installation
To install Nitrocid KS on your phone or tablet, install the following dependencies:
Ensure that your Android version is compatible with Termux. You need at least 8 GB of free storage and Android 7.0 or higher.
Required packages
You can consult the required dependencies here:
Dependency InformationOnce you're done, follow the steps:
Install Termux
Install
proot-distrousing the following command:pkg install proot-distro
Install the Ubuntu proot
proot-distro install ubuntu
Log in to the Ubuntu proot
proot-distro login ubuntu
Ensure that you've updated the package cache
apt updateapt dist-upgrade
Install the .NET 8.0 runtime
apt install dotnet-runtime-8.0
Install
wgetto download the latest release from this page.apt install wgetwget https://github.com/Aptivi/Nitrocid/releases/download/v0.x.x.x/0.x.x.x-bin.zip
Install
unzipto extract the filesapt install unzipunzip 0.x.x.x-bin.zip
Execute
dotnet Nitrocid.dll
Important notes
Here are important notes to consider when trying to run Nitrocid KS on Android:
Trying to run or build Nitrocid KS on an ARM64 Android device (e.g. Android devices with Qualcomm Snapdragon 8 Gen 2 as SoC) with Termux emits two error messages. The first one is:
$ dotnet build
GC heap initialization failed with error 0x8007000E
Failed to create CoreCLR, HRESULT: 0x8007000Eand the second one is:
$ DOTNET_GCHeapHardLimit=1C0000000 dotnet build
(...)
error MSB6006: "csc.dll" exited with code 139.
Build FAILED.In order to fix the first message, append the below environment variable before each dotnet build command like this:
$ DOTNET_GCHeapHardLimit=1C0000000 dotnet buildHowever, to fix the second message, download the fixed version of proot using this link (mirror if down) and run these commands outside the Ubuntu proot-distro environment:
# dpkg -i proot_5.1.107-50_aarch64.deb
# apt-mark hold prootLast updated