Unable to build for android armeabi-v7a

I can successfully create and install an APK compiled for arm64-v8a, but unable to compile for armeabi-v7a. The build chain refuses to build for it, no matter what option I choose in Project Settings > Android > Build.

It will only build for arm64 during the first lib compilation, then attempts to build the remainder of the project for armv7, and during linking, it cannot find the correct lib, because it built the wrong one during the steps above…

First stage: http://hastebin.com/wulutanaxo.coffeescript

Then, during GameActivity stage, it fails with: http://hastebin.com/ehotemuqed.vbs

Config/DefaultEngine.ini has bBuildForArm64=False, so it isn’t that. I deleted everything from the Binaries/Build folder to invalidate whatever things are cached, but no luck. What do I need to do in order to make the buildchain build for the correct arch picked in the Project Settings dialogue?

If you are building an Android project, and select a specific arch, build, then switch arch, you have to remove all files in the following folders before packaging again, or UE will not build the correct version of everything:

  • Binaries/
  • Build/
  • Intermediate/