Jan
4
2024

Install Android SDK+JDK+NDK for Unity (without AndroidStudio or Unity Hub)

I just wanted to build Quest 3 XR demo apk quickly.. but ended up fighting with android sdk installations.

STEPS

TROUBLESHOOTING

sdkmanager.bat says: “.. been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0”
your java home is probably pointing into old folder, update windows env. variable for %JAVA_HOME% (and restart commandprompt to take effect)

info about versions:
49 = Java 5
50 = Java 6
51 = Java 7
52 = Java 8
53 = Java 9
54 = Java 10
55 = Java 11
56 = Java 12
57 = Java 13
58 = Java 14
59 = Java 15
60 = Java 16
61 = Java 17
62 = Java 18
63 = Java 19
64 = Java 20
65 = Java 21
https://stackoverflow.com/a/47457251/5452781

RESOURCES:

If you need to find SDK downloads for your unity version, can check unity releases API
https://services.api.unity.com/unity/editor/release/v1/releases?limit=25&offset=0
And inside JSON, search for your unity version and see SDK download links.
(adjust offset to get older versions)

Video:


2 Comments + Add Comment

  • how to install sdk and other on 2021 unity version

    • i’m still using this setup on latest unity versions like 2023.x (maybe haven’t tested in 6000.0 yet)

Leave a comment

Connect

Twitter View LinkedIn profile Youtube Github Join Discord Twitch Instagram BlueSky

UnityLauncherPro

Get UnityLauncherPRO and work faster with Unity Projects!
*free unity hub alternative

@unitycoder_com

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.