Missed libraries during Android build

I use compiled UE4 Version: 4.17.1-0+++UE4+Release-4.17 for Suse Linux (Leap 42.3) and latest NVPACK
(android-sdk-linux, apache-ant-1.8.2, android-ndk-r12b).

I successful build FPV-sample project for Linux, but can’t make it for Android-19 (ETC2 or any another)
It looks like:

tail -1000 ./fstPersForAndroid.log |grep error:  |head -3
[2017.09.30-15.28.42:205][723]UATHelper: Packaging (Android (ETC2)): UnrealBuildTool: /home/wws/NVPACK/android-ndk-r12b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lgpg
[2017.09.30-15.28.42:206][723]UATHelper: Packaging (Android (ETC2)): UnrealBuildTool: /home/wws/NVPACK/android-ndk-r12b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lPhysX3
[2017.09.30-15.28.42:207][723]UATHelper: Packaging (Android (ETC2)): UnrealBuildTool: /home/wws/NVPACK/android-ndk-r12b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lPhysX3Extensions

My PhysX lib binary doesn’t compiled for Android-19

~/dist/UnrealEngine-release/Engine/Source/ThirdParty/PhysX/Lib> ls 
HTML5  IOS  Linux  TVOS

And I don’t know how to find and compile the sources for libgpg.* for Android

What can I do for build libgpg and another missing dependencies from LOG?
Like a ( … png, curl, ogg, vorbis, opus, PhysX3Cooking )

Thanks for Your help

Solved!

  1. Go to the UE4 installation directory and run Setup.command once more time.
  2. GenerateProjectFiles.command
  3. Try again

The above worked for me. But use setup.sh --all

  1. ./Setup.sh --all
  2. ./GenerateProjectFiles.sh
  3. ./Engine/Binaries/Linux/UE4Editor