Download

Andorid Package failed because of wrong lib path

when i try to package android i get error like this:

UATHelper: Packaging (Android (ASTC)): ld.lld: error: cannot open G:/repo/TUE/Engine/Source/ThirdParty/MSOC/lib: Is a directory
UATHelper: Packaging (Android (ASTC)): clang++: error: linker command failed with exit code 1 (use -v to see invocation)
PackagingResults: Error: cannot open G:/repo/TUE/Engine/Source/ThirdParty/MSOC/lib: Is a directory
PackagingResults: Error: linker command failed with exit code 1 (use -v to see invocation)

photo show my build.cs file

if i add some random string to path like
PublicAdditionalLibraries.Add(SoftWareOcclusionPath+ “lib/”+ libname+"/aaaaa");
it will success

seems that unreal will delete last string when link lib