Unable to build Android after building Engine from source
Hi. I am trying to build Unreal Engine 4.14 from the source for android development.
I followed https://docs.unrealengine.com/latest/INT/Programming/Development/BuildingUnrealEngine/ for building Unreal Engine in Visual Studio Community 2015
However, when trying to build the Android specific modules as per the steps mentioned at https://wiki.unrealengine.com/Build_Android_and_iOS_binary, I notice the following error:
The full build log is attached in this file: build_log.txt .
I have installed the android ndk (r12b), sdk, ant, gradle, jdk etc. as per the CodeWorks r15 installation file in the code. I have the version 4.12 installed/downloaded via the UE launcher and it contains the libbsdsignal.a file.
If I need to proved any other information please let me know.
I got it fixed. For some reason, codeworks didn't update the PATH variable in windows correctly. I had to update the PATH variable manually, and rebuild the windows and android solutions completely.
answered Nov 21 '16 at 05:39 PM
It's pretty old thread, but I add the comment for future users.
In my case, the Android prebuilt library 'bsdsignal' is not copied properly from 'src' to 'lib' directory. If you go to that directory, C:\unreal-engine-path\Engine\Build\Android\Prebuilt\bsdsignal\ you can see the build.bat batch file and its contents are:
set NDK_PROJECT_PATH=src call ndk-build APP_ABI="armeabi-v7a x86" APP_PLATFORM=android-21 copy src\obj\local\armeabi-v7a\libbsdsignal.a lib\armeabi-v7a copy src\obj\local\x86\libbsdsignal.a lib\x86
As you can see, it copies the lib files from 'src' and paste into 'lib'. Unfortunately, there is no 'lib' folder at that time and operation 'copy' does not create it even though it is necessary.
In conclusion, you can fix this problem by creating target folders manually (or modifying the batch script).
answered Feb 10 '19 at 01:44 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here