Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

UE uses deprecated android build command

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)
Product Version: UE 4.16
more ▼

asked May 31 '17 at 03:34 PM in Packaging & Deployment

avatar image

6 1 2

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question