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 10, 2020 09:23
I am happy to find your distinguished way of writing the post. Now you make it easy for me to understand and implement the concept. Thank you for the post.
JF Spence http://jfspence.co.uk -
fenoko
Jul 08, 2020 18:50
I was reading your article and wondered if you had considered creating an ebook on this subject. Your writing would sell it fast. You have a lot of writing talent.
mental träning sport https://www.lonelyplanet.com/profile/hypnosterapin924341 -
unity_K99WJS2TxGpRtA
Jul 08, 2020 13:35
Thank you for taking the time to publish this information very useful!
over at this website https://maps.google.com.sv/url?q=https://www.throughalenz.com -
unity_K99WJS2TxGpRtA
Jul 06, 2020 10:12
This is my first time visit here. From the tons of comments on your articles,I guess I am not only one having all the enjoyment right here!
navigate to this site https://images.google.com.pk/url?q=https://monsterlegendzfree.com -
unity_K99WJS2TxGpRtA
Jul 05, 2020 13:01
I can see that you are an expert at your field! I am launching a website soon, and your information will be very useful for me.. Thanks for all your help and wishing you all the success in your business.
Fildariane parents https://www.fildarianeparents.org -
mairakhatrikhatri
Jul 05, 2020 08:02
Through this post, I know that your good knowledge in playing with all the pieces was very helpful. I notify that this is the first place where I find issues I've been searching for. You have a clever yet attractive way of writing. <a href="https://vfxindia.co.in/web-development-course-vfx-chennai/">Web Development Courses</a>
-
unity_K99WJS2TxGpRtA
Jul 05, 2020 06:28
This is my first time i visit here and I found so many interesting stuff in your blog especially it's discussion, thank you.
concrete contractors https://concreteinlubbock.com -
mairakhatrikhatri
Jul 04, 2020 13:16
They're produced by the very best degree developers who will be distinguished for your polo dress creating. You'll find polo Ron Lauren inside exclusive array which include particular classes for men, women. <a href="http://www.spor365.info/">Bet365 canlı yardım</a>
-
unity_K99WJS2TxGpRtA
Jul 04, 2020 08:05
I can set up my new idea from this post. It gives in depth information. Thanks for this valuable information for all,..
no title https://maps.google.com.cu/url?q=https://federicogavazzi.com/ -
unity_K99WJS2TxGpRtA
Jul 02, 2020 20:11
Thank you for very usefull information..
free hide my wp https://hidemywp1.doodlekit.com/
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
- Inspector's custom tooltip is displayed incorrectly when the name is truncated in UI toolkit
- Crash on ScriptableRenderLoopDraw when rendering a specific VFX in Play Mode
- The script is not renamed in the Project window when renaming and a compilation Error is present
- Average FPS in Play Mode degradation on a newly created BiRP project when it's upgraded from 2020.3.48f1 to a newer Editor version
- DecoratorDrawer indentation is incorrect when it is called with EditorGUI
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/