Many wonder how to start Nukkit server on Android. To make it not so easy. The problem is that Android doesn't support any JDK or JRE, so we are going to put Linux on Android and then start the server.
What Android need?
Smartphone with Android 4.0+
2 GB of free space in the internal memory (not on the memory card, namely in the interior!)
1+ GB OF RAM
All these apps are available on Google Play
Complete Linux Installer
How to Start a Server?
1. Next, open Complete Linux Installer. When you first start it will ask us for ROOT rights to install Busybox and the required scripts. Agree. Installation takes no more than 15 seconds. After that, leave from Complete Linux Installer
1.1 Now we need to download the distribution, let it be Ubuntu 14.04
1.2 Click on this link, wait until the distribution is loaded.
1.3 Go to ZArchiver, at the root of the sdcard create a folder called ubuntu
1.4 Now go to the directory where You have stored the downloaded files. Folder "Downloads"
1.5 We find there is a file "ubuntu-14.04.CORE.ext4.PREALPHAv1.zip" click on it Click "Extract" and go to the previously created directory "ubuntu" and then click on the following icon and wait for decompression:
1.6 Rename the file "ubuntu-14.04.CORE.ext4.img" "ubuntu.img" and the file "ubuntu-14.04.CORE.ext4.img.md5" in "ubuntu.img.md5"
ZArchiver is no longer needed, it can be removed if You do not need.
2. Again we go to Complete Linux Installer swipe right menu
2.1 Click "Run" in the popup menu, select the distribution "Ubuntu"
2.2 Click "Run Linux", we open the previously downloaded "Terminal Emulator":
2.3 When you first start we will ask different questions, the first question is "MD5 file found, use to check .img file?" answer n (No)
2.4 I got the error "can't execute '/root/init.sh' Permission denied":
Not sure that this error will come out at all, but just in case lay out the solution. Here run the command:
After that, click "Window 1" and the cross. The terminal closes. Go to the Complete Linux Installer and click again the "Run Linux". The error disappeared!
2.5 We are asked to set a password. Enter any password ATTENTION! When entering the password, it will not appear if you do not enter it, but really it's just a security system, and password actually entered.
2.6 Then we are asked to repeat the password, everything is clear
2.7 Questions on the "Start VNC server?" and "Start SSH server?" answer n (No), and the question "Save settings as defaults?" answer y (Yes)
2.8 Great! Reads root@localhost! Linux installed!
3. Now install Java 8 and he Nukkit. Take turns running the following console commands: