Error deploying game on android device

I have installed all android Sdk Ndk.

Error:

LogPlayLevel:      [echo] Handling aidl files...
LogPlayLevel:      [aidl] No AIDL files to compile.
LogPlayLevel:      [echo] ----------
LogPlayLevel:      [echo] Handling RenderScript files...
LogPlayLevel:      [echo] ----------
LogPlayLevel:      [echo] Handling Resources...
LogPlayLevel:      [aapt] Found new input file
LogPlayLevel:      [aapt] Generating resource IDs...
LogPlayLevel:      [echo] ----------
LogPlayLevel:      [echo] Handling BuildConfig class...
LogPlayLevel: [buildconfig] No need to generate new BuildConfig.
LogPlayLevel: -pre-compile:
LogPlayLevel: -compile:
LogPlayLevel:      [echo] Creating library output jar file...
LogPlayLevel: -post-compile:
LogPlayLevel: -obfuscate:
LogPlayLevel: -dex:
LogPlayLevel:      [echo] Library project: do not convert bytecode...
LogPlayLevel: -crunch:
LogPlayLevel:    [crunch] Crunching PNG Files in source dir: E:\My Documents\Unreal Projects\test\Intermediate\Android\APK\JavaLibs\play-services-auth-9.2.0\res
LogPlayLevel:    [crunch] To destination dir: E:\My Documents\Unreal Projects\test\Intermediate\Android\APK\JavaLibs\play-services-auth-9.2.0\bin\res
LogPlayLevel:    [crunch] Crunched 0 PNG files to update cache
LogPlayLevel: -package-resources:
LogPlayLevel:      [echo] Library project: do not package resources...
LogPlayLevel: -package:
LogPlayLevel:      [echo] Library project: do not package apk...
LogPlayLevel: -post-package:
LogPlayLevel: -do-debug:
LogPlayLevel:      [echo] Library project: do not create apk...
LogPlayLevel: [propertyfile] Updating property file: E:\My Documents\Unreal Projects\test\Intermediate\Android\APK\JavaLibs\play-services-auth-9.2.0\bin\build.prop
LogPlayLevel: [propertyfile] Updating property file: E:\My Documents\Unreal Projects\test\Intermediate\Android\APK\JavaLibs\play-services-auth-9.2.0\bin\build.prop
LogPlayLevel: [propertyfile] Updating property file: E:\My Documents\Unreal Projects\test\Intermediate\Android\APK\JavaLibs\play-services-auth-9.2.0\bin\build.prop
LogPlayLevel: [propertyfile] Updating property file: E:\My Documents\Unreal Projects\test\Intermediate\Android\APK\JavaLibs\play-services-auth-9.2.0\bin\build.prop
LogPlayLevel: -post-build:
LogPlayLevel: debug:
LogPlayLevel: nodeps:
LogPlayLevel: -set-mode-check:
LogPlayLevel: -set-debug-files:
LogPlayLevel: -check-env:
LogPlayLevel:  [checkenv] Android SDK Tools Revision 24.2.0
LogPlayLevel:  [checkenv] Installed at E:\Android\android-sdk-windows
LogPlayLevel: -setup:
LogPlayLevel:      [echo] Project Name: play-services-ads-lite-9.2.0
LogPlayLevel:   [gettype] Project Type: Android Library
LogPlayLevel: -set-debug-mode:
LogPlayLevel: -debug-obfuscation-check:
LogPlayLevel: -pre-build:
LogPlayLevel: -build-setup:
LogPlayLevel: [getbuildtools] Using latest Build Tools: 25.0.2
LogPlayLevel:      [echo] Resolving Build Target for play-services-ads-lite-9.2.0...
LogPlayLevel: [gettarget] Project Target:   Android 2.3.1
LogPlayLevel: [gettarget] API level:        9
LogPlayLevel:      [echo] ----------
LogPlayLevel:      [echo] Creating output directories if needed...
LogPlayLevel:     [mkdir] Created dir: E:\My Documents\Unreal Projects\test\Intermediate\Android\APK\JavaLibs\play-services-ads-lite-9.2.0\bin\rsObj
LogPlayLevel:     [mkdir] Created dir: E:\My Documents\Unreal Projects\test\Intermediate\Android\APK\JavaLibs\play-services-ads-lite-9.2.0\bin\rsLibs
LogPlayLevel:      [echo] ----------
LogPlayLevel:      [echo] Resolving Dependencies for play-services-ads-lite-9.2.0...
LogPlayLevel: [dependency] Library dependencies:
LogPlayLevel: [dependency] No Libraries
LogPlayLevel: [dependency]
LogPlayLevel: [dependency] ------------------
LogPlayLevel: [dependency] API<=15: Adding annotations.jar to the classpath.
LogPlayLevel: -code-gen:
LogPlayLevel: [mergemanifest] Found Deleted Target File
LogPlayLevel: [mergemanifest] Merging AndroidManifest files into one.
LogPlayLevel: [mergemanifest] Manifest merger disabled. Using project manifest only.
LogPlayLevel:      [echo] Handling aidl files...
LogPlayLevel:      [aidl] No AIDL files to compile.
LogPlayLevel:      [echo] ----------
LogPlayLevel:      [echo] Handling RenderScript files...
LogPlayLevel:      [echo] ----------
LogPlayLevel:      [echo] Handling Resources...
LogPlayLevel:      [aapt] Generating resource IDs...
LogPlayLevel:      [aapt] E:\My Documents\Unreal Projects\test\Intermediate\Android\APK\JavaLibs\play-services-ads-lite-9.2.0\bin\AndroidManifest.xml:26: error: Error: String types not allowed (at 'configChanges' with value 'keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize').
LogPlayLevel:      [aapt]
LogPlayLevel: BUILD FAILED
LogPlayLevel: E:\Android\android-sdk-windows\tools\ant\build.xml:601: The following error occurred while executing this line:
LogPlayLevel: E:\Android\android-sdk-windows\tools\ant\build.xml:653: The following error occurred while executing this line:
LogPlayLevel: E:\Android\android-sdk-windows\tools\ant\build.xml:698: null returned: 1
LogPlayLevel: Total time: 16 seconds
LogPlayLevel: Program.Main: ERROR: AutomationTool terminated with exception: System.IO.FileNotFoundException: Could not find file 'E:\My Documents\Unreal Projects\test\Intermediate/Android/APK/bin/test-debug.apk'.
LogPlayLevel: File name: 'E:\My Documents\Unreal Projects\test\Intermediate/Android/APK/bin/test-debug.apk'
LogPlayLevel:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
LogPlayLevel:    at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
LogPlayLevel:    at UnrealBuildTool.UEDeployAndroid.MakeApk(AndroidToolChain ToolChain, String ProjectName, String ProjectDirectory, String OutputPath, String EngineDirectory, Boolean bForDistribution, String CookFlavor, Boolean bMakeSeparateApks, Boolean bIncrementalPackage, Boolean bDisallowPackagingDataInApk, Boolean bDisallowExternalFilesDir)
LogPlayLevel:    at UnrealBuildTool.UEDeployAndroid.PrepForUATPackageOrDeploy(FileReference ProjectFile, String ProjectName, String ProjectDirectory, String ExecutablePath, String EngineDirectory, Boolean bForDistribution, String CookFlavor, Boolean bIsDataDeploy)
LogPlayLevel:    at AndroidPlatform.Deploy(ProjectParams Params, DeploymentContext SC)
LogPlayLevel:    at Project.Deploy(ProjectParams Params)
LogPlayLevel:    at BuildCookRun.DoBuildCookRun(ProjectParams Params)
LogPlayLevel:    at BuildCookRun.ExecuteBuild()
LogPlayLevel:    at AutomationTool.BuildCommand.Execute()
LogPlayLevel:    at AutomationTool.Automation.Execute(List`1 CommandsToExecute, CaselessDictionary`1 Commands)
LogPlayLevel:    at AutomationTool.Automation.Process(String[] Arguments)
LogPlayLevel:    at AutomationTool.Program.MainProc(Object Param)
LogPlayLevel:    at AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object Param)
LogPlayLevel:    at AutomationTool.Program.Main()
LogPlayLevel: Program.Main: AutomationTool exiting with ExitCode=1 (Error_Unknown)
LogPlayLevel: Completed Launch On Stage: Deploy Task, Time: 70.657526
LogPlayLevel: BUILD FAILED
PackagingResults:Error: Error Launch failed! Unknown Error

Ga40,

Please delete your Intermediate and Saved folders from your project. Once you’ve done that, please try to deploy or package your project again and uploade any new logs.

Thank you!

Hi sammantha, I have the same problem and followed your comment, but for me wasn’t resolved. In Log says that not found C:\Users\Alexa\Documents\Unreal Projects[PROJECT]\Intermediate/Android/APK/bin/[PROJECT]-debug.apk’.

Thank you and regards

Hi again, I fixed it, probably is not the best way to resolve that, but i created a new project and i passed all my ASSETS to the new project. Then i can package for android now.

Thank you and regards