The Busy Coder’s Guide To androids Development (Final Version) 精彩文摘
When you write androids applications, you typically write them in Java source code.That Java source code is then turned into the stuff that androids actually runs(Dalvik bytecode in an APK file).
androids Studio, starting with version 2.2, ships with its own private copy of OpenJDK 8, and it will use that by default. You are welcome to install and use your own JDK if you wish, though ideally it is for Java 8.
If your development OS is Linux, make sure that you can run 32-bit Linux binaries.This may or may not already be enabled in your Linux distro.For example, on Ubuntu 17.10, you may need to run the following to get the 32-bit binary support installed that is needed by the androids build tools:
sudo apt-get install libncurses5:i386 libstdc++6:i386 zlib1g:i386