libc++_shared.so missing on build

Hi

I’m attempting to build and package a project from UE5 to my Quest 2 and it runs into an error

LogPlayLevel: Error: ERROR: System.IO.DirectoryNotFoundException: Could not find a part of the path ‘C:\Users\xxx\AppData\Local\Android\Sdk\ndk\25.1.8937393\sources\cxx-stl\llvm-libc++\libs\arm64-v8a\libc++_shared.so’.

I don’t have a libs folder in C:\Users\xxx\AppData\Local\Android\Sdk\ndk\25.1.8937393\sources\cxx-stl\llvm-libc++

I installed the ndk via android studio

I’m coming from a .net background so maybe getting confused (apologies in advance) but what am I doing wrong?

Thanks

Ahh - I installed the NDK via android studio initially; this installed v25.1.8937393 which doesn’t have those files or folders.

Following the steps on here: Setting Up Android SDK and NDK for Unreal | Unreal Engine 4.27 Documentation installed v21.4… which now has the missing folders/files.

2 Likes

which version of SKD and JDK are you using? i am trying to use 21.4 NDK version but i can not build it.

1 Like