Search Issue Tracker
Fixed in 2018.3.X
Fixed in 2017.4.X, 2018.2.X
Votes
80
Found in
Issue ID
956425
Regression
No
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: https://issuetracker.unity3d.com/issues/android-build-fails-when-the-latest-android-sdk-tools-25-dot-3-1-version-is-used
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
-
unity_K99WJS2TxGpRtA
Jul 20, 2020 18:04
These are some great tools that i definitely use for SEO work. This is a great list to use in the future..
kiếm tiền với Wefinex https://forum.cs-cart.com/user/88517-tienkyss/ -
mairakhatrikhatri
Jul 20, 2020 12:38
SBOBETASIA adalah salah satu Agen SBOBET Terpercaya yang menghadirkan Judi SBOBET Online agar bisa memberikan kemudahan Daftar SBOBET Resmi dengan minimal deposit 25rb saja <a href="http://173.82.202.129/cara-daftar-sbobet-asia-resmi/">SBOBETASIA</a>
-
mairakhatrikhatri
Jul 20, 2020 02:31
Great blog post you have shared here. Thank you <a href="https://winc.com/hi/r34iatjxgm0">Winc Promo Code</a>
-
unity_K99WJS2TxGpRtA
Jul 19, 2020 07:25
Thank you again for all the knowledge you distribute,Good post. I was very interested in the article, it's quite inspiring I should admit. I like visiting you site since I always come across interesting articles like this one.Great Job, I greatly appreciate that.Do Keep sharing! Regards,
cocaine cuts test kit http://recampus.ning.com/forum/topics/when-should-managers-drug-test-at-the-office -
unity_K99WJS2TxGpRtA
Jul 16, 2020 12:38
You know your projects stand out of the herd. There is something special about them. It seems to me all of them are really brilliant!Cleaning Services http://recampus.ning.com/forum/topics/home-rug-cleaning-features
-
unity_K99WJS2TxGpRtA
Jul 14, 2020 11:12
I wanted to thank you for this great read!! I definitely enjoying every little bit of it I have you bookmarked to check out new stuff you post.
commercial electrical contractor http://www.staldebrauwer.com/tips-for-choosing-the-best-commercial-electrical-contractor/ -
unity_K99WJS2TxGpRtA
Jul 13, 2020 11:56
I know your expertise on this. I must say we should have an online discussion on this. Writing only comments will close the discussion straight away! And will restrict the benefits from this information.
commercial electrician in Little Elm http://www.mydollshouse.me.uk/hiring-a-commercial-electrician-in-little-elm/ -
unity_K99WJS2TxGpRtA
Jul 12, 2020 12:28
I wanted to thank you for this great read!! I definitely enjoying every little bit of it I have you bookmarked to check out new stuff you post.
Cascade sailing http://www.cascadesailing.co.uk -
mairakhatrikhatri
Jul 11, 2020 19:23
his was really very informative site for me. I really liked it. Thanks a lot!.<a href="https://ozywebit.com.au/">seo agency</a>
-
cozyurt_unity
Jul 11, 2020 15:07
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Tile Palette selected dropdown text does not update when palette is renamed
- ArgumentException thrown and reference to Template gets unset when opening UXML file after editing referenced Template in Play mode
- [iOS][WebGL] Player freezes when multiple properties of a VisualElement are changed at the same time
- Warning 'GetControlID at event ValidateCommand returns a controlID different from the one in the Layout event' is logged when undoing the deletion of an Edited Freeform 2D Light
- ShadowCaster2D breaks on certain Rotation positions when Casting Source is set to PolygonCollider2D
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: https://forum.unity.com/threads/java-9-jdk-9-support-by-unity-android.499354/