Click Android in Build and Setting, then press Build
You will be asked for the Android SDK folder.
So, if you specify a folder and wait ...
failed to build apk
Will come out.
What to do if you can't build Android with Unity Unable to build on android with unity. You need to do what you are doing in this article.
So the problem is the ** JDK path **. You need to fix the JDK path to the JDK9 path.
Procedures for installing Oracle Java 8 (JDK) on macOS Follow this article to install JDK8 and
Change the JDK path here from JDK 9 to 8. In particular,
Java/JavaVirtualMachines/jdk-9.0.1.jdk/Contents/Home
To
#### **`Java/JavaVirtualMachines/jdk1.8.0_171.jdk/Contents/Home`**
To
** You can now build. ** **
Recommended Posts