[JAVA] Problems with SDK apk JDK etc. that fail when building on Android with Unity. "Failed to build apk"

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

android-sdk.png

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

Problems with SDK apk JDK etc. that fail when building on Android with Unity. "Failed to build apk"
Attempt to source build JDK9 EA on Mac OSX (failed)
Problems I was addicted to when building the digdag environment with docker
Summary of means when you want to communicate with HTTP on Android