Unity ile Android build'i almak isteyen ve yeni kurulum yapan arkadaşlar eğer aşağıdaki hatayı alırsanız, JDK'nın son sürümü 9 olsa da henüz Android SDK bunu desteklemediği için build alınamıyor. Bunun için JDK 8'i kurmanız gerekiyor. JDK 9'u da kaldırın, ikisi birden olunca bende çalışmadı...

Alınan hata: Unable to list target platforms. Please make sure the android sdk path is correct.

#unity #development #jdk #sdk #android #build #yardım #akış

Announcement:

If you are using JDK 9 and trying to build for Android in Unity - you're most likely to have your build failed, with message like "Unable to list target platforms" - "Error:Invalid command android".

We are working together with Google on fixing this issue - it requires fixes on Unity side, but also Android SDK tools need to be updated to be compatible with latest Java.

In the meanwhile, we recommend using Java 8 (JDK 8). You can have both Java installations side-by-side, just need to configure Unity Preferences => External Tools => JDK to point to your JDK 8 installation.

We apologize for the inconvenience caused!
Your Unity Mobile team

BeğenFavori PaylaşYorum yap