I installed the binary version of the UE (4.16.0-3452394+++UE4+Release-4.16) for Windows and installed the Android SDK using Android Studio. I am running the latest NDK (android-ndk-r14b) and everything is up to date. I am unable to build a basic, fresh project because the UE is apparently using a deprecated command (see log).
NDK version: 24, GccVersion: 4.9
Compiling Native code with NDK API 'android-24'
Target is up to date
Deploying TesterLab Android Development...
Receipt Filename: D:\My Documents\Unreal Projects\TesterLab\Binaries\Android\TesterLab.target
AndroidPlugin: Plugins\Runtime\AndroidPermission\Source\AndroidPermission\AndroidPermission_APL.xml
AndroidPlugin: Plugins\Runtime\GoogleCloudMessaging\Source\GoogleCloudMessaging\GoogleCloudMessaging_UPL.xml
AndroidPlugin: Plugins\Runtime\GoogleVR\GoogleVRHMD\Source\GoogleVRHMD\GoogleVRHMD_APL.xml
AndroidPlugin: Source\Runtime\Online\Voice\AndroidVoiceImpl_UPL.xml
UPL: ..\Plugins/Runtime/AndroidPermission/Source/AndroidPermission/AndroidPermission_APL.xml
UPL: ..\Plugins/Runtime/GoogleCloudMessaging/Source/GoogleCloudMessaging/GoogleCloudMessaging_UPL.xml
UPL: ..\Plugins/Runtime/GoogleVR/GoogleVRHMD/Source/GoogleVRHMD/GoogleVRHMD_APL.xml
UPL: ..\Source/Runtime/Online/Voice/AndroidVoiceImpl_UPL.xml
====5/31/2017 11:21:33 AM====PREPARING TO MAKE APK=================================================================
Building Java with SDK API level 'android-24'
Patching ant.bat to work around commandline length limit (using unused drive letter Y:)
Using package name: 'com.ForTheLoveOfGob.TesterLab'
==== Writing to shim file D:\My Documents\Unreal Projects\TesterLab\Build\Android\src\com\epicgames\ue4\DownloadShim.java ====
==== Shim data file up to date so not writing. ====
==== Writing to template target file D:\My Documents\Unreal Projects\TesterLab\Build\Android\src\com\ForTheLoveOfGob\TesterLab\AlarmReceiver.java ====
==== Template target file up to date so not writing. ====
==== Writing to template target file D:\My Documents\Unreal Projects\TesterLab\Build\Android\src\com\ForTheLoveOfGob\TesterLab\DownloaderActivity.java ====
==== Template target file up to date so not writing. ====
==== Writing to template target file D:\My Documents\Unreal Projects\TesterLab\Build\Android\src\com\ForTheLoveOfGob\TesterLab\OBBDownloaderService.java ====
==== Template target file up to date so not writing. ====
Cleaning up files based on template dir D:\My Documents\Unreal Projects\TesterLab\Build\Android\src\com\ForTheLoveOfGob\TesterLab
Previous .apk file(s) were made with different build settings, forcing repackage.
UPL Init: arm64-v8a
Android Permission Plugin Init
Google Cloud Messaging init
GCMClientSenderID set: false
GoogleVRHMD init
Sustained-performance mode is desired
Project supports daydream, will enable async reprojection when possible.
Android Voice init
On build machine.
Disabling Show Launch Image for Daydream enabled application
bPackageDataInsideApk = False
Added repository: Q:\android-sdk\extras\m2repository
Added repository: Q:\android-sdk\extras\google\m2repository
Added repository: Q:\android-sdk\extras\android\m2repository
Added repository: ..\Source\ThirdParty\Android\extras\google\m2repository
Added repository: ..\Source\ThirdParty\Android\extras\android\m2repository
AARImports: com.google.android.gms, play-services-ads, 9.2.0
AARImports: com.google.android.gms, play-services-auth, 9.2.0
AARImports: com.google.android.gms, play-services-games, 9.2.0
AARImports: com.google.android.gms, play-services-nearby, 9.2.0
AARImports: com.google.android.gms, play-services-plus, 9.2.0
AARImports: com.android.support, support-v13, 25.0.0
AAR: support-v4: 25.0.0 newer than 23.0.0
AAR: support-annotations: 25.0.0 newer than 23.0.0
Extracting AARs
====5/31/2017 11:21:35 AM====PREPARING NATIVE CODE=================================================================
On build machine.
Disabling Show Launch Image for Daydream enabled application
Copying permission_library directory to staging before build
Directory ..\/Source/ThirdParty/AndroidPermission/permission_library copied to D:\My Documents\Unreal Projects\TesterLab\Intermediate/Android/APK/JavaLibs/permission_library
Copying GoogleVR buildtime files to staging
Directory ..\/Source/ThirdParty/GoogleVR/lib/common_library copied to D:\My Documents\Unreal Projects\TesterLab\Intermediate/Android/APK/JavaLibs/common_library
====5/31/2017 11:21:35 AM====UPDATING BUILD CONFIGURATION FILES====================================================
**************************************************************************
The "android" command is deprecated.
For manual SDK, AVD, and project management, please use Android Studio.
For command-line tools, use tools\bin\sdkmanager.bat
and tools\bin\avdmanager.bat
**************************************************************************
Invalid or unsupported command "--silent update lib-project --path JavaLibs/common_library --target android-24"
Supported commands are:
android list target
android list avd
android list device
android create avd
android move avd
android delete avd
android list sdk
android update sdk
ERROR: Q:/android-sdk/tools/android.bat failed with args --silent update lib-project --path JavaLibs/common_library --target android-24
Total build time: 27.35 seconds (NoActionsToExecute executor: 0.00 seconds)