Search Issue Tracker

Fixed in 2018.3.X

Fixed in 2017.4.X, 2018.2.X



Found in

Issue ID




Android builds fail with Java 9 JDK and Unable to list target platforms error



With the latest public versions of Unity (2017.1.1f1), Android Studio/SDK tools(26.0.2), and JDK (Java HotSpot(TM) 64-Bit Server VM (build 9+181, mixed mode), Android builds failed early on with:

Error:Invalid command android
CommandInvokationFailure: Unable to list target platforms. Please make sure the android sdk path is correct.
See the Console for more details. Error building Player: CommandInvokationFailure: Unable to list
target platforms. Please make sure the android sdk path is correct. See the Console for more details.

A similar problem (same error message, but different cause) has been reported about 6 months ago:

In my case, downgrading to JDK 8 fixed the problem.

Reproduced with:
2017.3.0b4, 2017.2.0f3, 2017.1.2f1, 5.6.3p4, 5.5.5f1

  1. Yury-Habets

    May 18, 2018

    Unfortunately there are compatibility issues between JDK9 and JDK10 and Android SDK.
    The bugs have been reported to Google, we are working on a full-featured fix.
    As a workaround, for now please UNINSTALL JDK9/10 and INSTALL only JDK8 (64-bit).
    We apologize for the inconvenience caused.

    Feel free to check the status at the forums as well:

Comments (88)

  1. mairakhatrikhatri

    Aug 03, 2020 06:58

    You might comment on the order system of the blog. You should chat it's splendid. Your blog audit would be swell up your visitors. I was very pleased to find this site. <a href="">Utility Kilts</a>

  2. mairakhatrikhatri

    Jul 29, 2020 06:55

    I feel a lot more people need to read this, very good info! . <a href="">detectives privados elche</a>

  3. mercygaleria

    Jul 28, 2020 10:01;u=245304;u=19154;u=556429;;u=245305;;u=19155;u=556432;;u=556433;u=245302;;u=556434,,,,

  4. mairakhatrikhatri

    Jul 28, 2020 06:14

    I definitely enjoying every little bit of it and I have you bookmarked to check out new stuff you post. <a href="">news</a>

  5. mairakhatrikhatri

    Jul 27, 2020 15:46

    A debt of gratitude is in order for sharing the information, keep doing awesome... I truly delighted in investigating your site. great asset... <a href="">job posting</a>

  6. unity_K99WJS2TxGpRtA

    Jul 26, 2020 16:07

    Thanks for posting this info. I just want to let you know that I just check out your site and I find it very interesting and informative. I can't wait to read lots of your posts.
    Brisbane SEO ExpertS

  7. unity_K99WJS2TxGpRtA

    Jul 25, 2020 13:55

    I love the way you write and share your niche! Very interesting and different! Keep it coming!
    máy triệt lông công nghệ ipl

  8. unity_K99WJS2TxGpRtA

    Jul 24, 2020 09:08

    I felt very happy while reading this site. This was really very informative site for me. I really liked it. This was really a cordial post. Thanks a lot!.
    máy triệt lông spa

  9. mairakhatrikhatri

    Jul 23, 2020 20:26

    Pretty good post. I have just stumbled upon your blog and enjoyed reading your blog posts very much. I am looking for new posts to get more precious info. Big thanks for the useful info. <a href="">best gpu for fortnite</a>

  10. unity_K99WJS2TxGpRtA

    Jul 22, 2020 10:24

    I have read your article, it is very informative and helpful for me.I admire the valuable information you offer in your articles. Thanks for posting it..
    San Antonio Electrician

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.