I installed the following sdk platforms to the directory shown using the sdk manager in android studio but when I try to link unity to that path it gives me an invalid SDK error? any ideas?
[155306-capture.png|155306]
[155306-capture.png|155306]
I installed the following sdk platforms to the directory shown using the sdk manager in android studio but when I try to link unity to that path it gives me an invalid SDK error? any ideas?
[155306-capture.png|155306]
[155306-capture.png|155306]
I was able to make a successful Android build, as follows:
Download and install jdk-14_windows-x64_bin.exe from https://www.oracle.com/java/technologies/javase-jdk14-downloads.html,
Download and install android-studio-ide-192.6241897-windows.exe from https://developer.android.com/studio/index.html,
Download android-ndk-r19-windows-x86_64.zip from https://dl.google.com/android/repository/android-ndk-r19-windows-x86_64.zip and extract to C:/Program Files/Android/. (Unity wouldn’t accept android-ndk-r19c-windows-x86.zip from https://developer.android.com/ndk/downloads/older_releases.)
In Unity, under Edit>Preferences>External Tools, add the following paths:
C:/Program Files/Java/jdk1.8.0_241
C:\Users\Ericroy\AppData\Local\Android\sdk
C:/Program Files/Android/android-ndk-r19
C:/Program Files/Unity/Editor/Data/PlaybackEngines/AndroidPlayer/Tools/gradle
I hope this helps.