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. donaldrsimonn

    Aug 22, 2020 09:56

    Double Standards in the South Korean Government's Response to Shincheonji and Sarang Jeil Church. They have been unfair to Shincheonji, but they have not prosecuted Sarang Jeil Church which explicitly went against government orders of not meeting together and told congregants to not get tested

    Click to find out more >

  2. mairamk033

    Aug 21, 2020 16:40

    I am a new user of this site so here i saw multiple articles and posts posted by this site,I curious more interest in some of them hope you will give more information on this topics in your next articles. <a href="">hepsibahis</a>

  3. mairamk033

    Aug 20, 2020 10:32

    Thank you so much for the post you do. I like your post and all you share with us is up to date and quite informative, i would like to bookmark the page so i can come here again to read you, as you have done a wonderful job. <a href="">꽁머니</a>

  4. unity_K99WJS2TxGpRtA

    Aug 19, 2020 11:37

    Very interesting blog. Alot of blogs I see these days don't really provide anything that I'm interested in, but I'm most definately interested in this one. Just thought that I would post and let you know.
    Skull Art Shop

  5. unity_K99WJS2TxGpRtA

    Aug 18, 2020 10:05

    Great article with excellent idea!Thank you for such a valuable article. I really appreciate for this great information..
    influencers in Los Angeles

  6. johnpketchum12

    Aug 18, 2020 04:28

    Also, when you have the experts helping you with your local SEO requirements, then your credibility, as well as your reputation, will increase. We can ensure that we go through all of the links and reviews to help you find the good ones. If you are at the top of the search engine results due to your ranking, then the customers are going to be more likely to trust you for their work. We can help you to ensure that your credibility, as well as your reputation, are the best that they can be in the online world.

  7. mairamk033

    Aug 16, 2020 07:28

    Three are usually cheap Ralph Lauren available for sale each and every time you wish to buy.<a href=""></a>

  8. mairamk033

    Aug 13, 2020 17:04

    Wow what a Great Information about World Day its very nice informative post. thanks for the post.<a href="">SEO Edmonton</a>

  9. unity_K99WJS2TxGpRtA

    Aug 13, 2020 16:20

    This type of message always inspiring and I prefer to read quality content, so happy to find good place to many here in the post, the writing is just great, thanks for the post.
    Original Nutter Design

  10. unity_K99WJS2TxGpRtA

    Aug 12, 2020 09:20

    If more people that write articles really concerned themselves with writing great content like you, more readers would be interested in their writings. Thank you for caring about your content.
    exchange rate website

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.