250 Commits

Author SHA1 Message Date
matt begoghina
f7700fa398 Return Android devices with Turnkey, and Editor Platforms menu update
The goal of this update is to have valid Android devices not showing with a Warning in the Platforms menu.

To allow this, the AndroidPlatformSDK now return the list of connected devices and their SDK Versions.
The change in TurnkeySupportModule ensures we are stripping the cook flavor from the DeviceId which would fail to verify the SDK.

Regarding the Editor `Platforms` menu, the code was adjusted to have devices listed outside of a submenu when `Platform->SupportsFeature(ETargetPlatformFeatures::ShowAsPlatformGroup)` returns false.
Another addition was a new `ETargetPlatformFeatures::ShowAggregateDevice` to allow platforms to not list the aggregate device (ex: `All_Android_on...`)

#review-36072549
#jira UE-223262
#rb adam.kinge, Chris.Babcock, Josh.Adams

[CL 37262963 by matt begoghina in 5.5 branch]
2024-10-18 09:28:09 -04:00
ben marsh
595309196c Merging NET 8 upgrades from Main.
[CL 36755991 by ben marsh in 5.5 branch]
2024-10-01 19:12:37 -04:00
chris babcock
a75726d56d Additional threading protections for background downloading
Save mapping.txt file
Turn back on Samsung S23/S24 bgdl

#android
[REVIEW] [at]Ben.Temple
#rb ben.temple

[CL 36749107 by chris babcock in 5.5 branch]
2024-10-01 18:02:55 -04:00
aliaksandr bokhan
48e337fea4 UE-223759: add retries and fix warnings for socket exceptions on Android platform
#rb adolf.stary, Andrei.Khudziakou, Mikhail.Subach
#jira UE-223759

[CL 36262041 by aliaksandr bokhan in 5.5 branch]
2024-09-13 08:42:05 -04:00
TroutZhang
11fbe78c35 Add additional location to check for Android Studio binary
#jira UE-212068
#android
#11740
[REVIEW] Ben.Temple
#rb Ben.Temple

[CL 34720307 by TroutZhang in ue5-main branch]
2024-06-27 15:44:44 -04:00
joe kirchoff
72a8c5996d Fix various XML comment issues in AutomationTool and various scripts (non-functional change)
#rnx

[CL 34263204 by joe kirchoff in ue5-main branch]
2024-06-10 21:51:45 -04:00
chris babcock
f745a2e21c Change method of ordering AFS startup sequence (am start -W doesn't work for older Android)
#jira UE-214651
#android
[REVIEW] [at]Jack.Porter
#rb ben.temple

[CL 33739800 by chris babcock in ue5-main branch]
2024-05-17 18:16:01 -04:00
jon olick
c212eb5c54 Use AFS instead of ADB when available.
[CL 33043921 by jon olick in ue5-main branch]
2024-04-17 14:46:09 -04:00
chris constantinescu
7c5095a408 LLT Android support
#rb Chris.Babcock, sebastian.lewicki
#jira UE-210332

[CL 32714226 by chris constantinescu in ue5-main branch]
2024-04-03 18:39:56 -04:00
chris babcock
35562e7ce2 Improved startup sequence for AFS server with updated UnrealAndroidFileTool executables (added pulldir command)
#jira UE-210383
#android
[REVIEW] [at]Brandon.Schaefer
#rb Brandon.Schaefer

[CL 32625230 by chris babcock in ue5-main branch]
2024-03-29 17:57:51 -04:00
rafa lecina
881b698a18 Scape '(' and ')' in the session name when launching on Android.
Otherwise it will fail to launch from project launcher since session name is like `DeviceName (SerialNumber)` with the error `/system/bin/sh: syntax error: unexpected '('`

[REVIEW] [at]Chris.Babcok

#rb Chris.Babcock

[CL 30922981 by rafa lecina in ue5-main branch]
2024-01-26 09:49:05 -05:00
dmytro ivanov
31966efe00 Use correct AFS in the push script
#jira UE-186383
#rb Allan.Bentham

[CL 29133672 by dmytro ivanov in ue5-main branch]
2023-10-26 10:05:17 -04:00
dmytro ivanov
32d57e9b28 Don't bundle libUnreal.so in .apk for faster iteration
#jira UE-186383
#rb Chris.Babcock

[CL 28967167 by dmytro ivanov in ue5-main branch]
2023-10-20 11:24:28 -04:00
chris babcock
b0178ba83c Update install scripts and deploy for future AndroidFileServer changes
Remove unused AFS receiver

#jira UE-192822
#android
[REVIEW] [at]Ben.Temple
#rb Ben.Temple

[CL 27162726 by chris babcock in ue5-main branch]
2023-08-16 20:47:28 -04:00
chris babcock
9bd1cb5b98 Archive additional APK products from Gradle
#android
[REVIEW] [at]Ben.Temple
#rb Ben.Temple

[CL 27022400 by chris babcock in ue5-main branch]
2023-08-11 00:52:06 -04:00
jack porter
6f8e904888 Fix logging issue
#rb trivial

[CL 25948733 by jack porter in ue5-main branch]
2023-06-13 08:31:06 -04:00
jack porter
9111d0a28d Support for arbitrary number of OBB overflow files
Set current maximum to 10 in ini file
#rb Allan.Bentham

[CL 25912082 by jack porter in ue5-main branch]
2023-06-10 23:02:11 -04:00
dmytro ivanov
15a6f27a3e Pass RunCommandline during launch to improve iteration times on mobile by not needing to rebuild .apk every time, because they are not passed via staged build anymore.
#jira UE-185550
#rb adam.kinge

[CL 25868747 by dmytro ivanov in ue5-main branch]
2023-06-08 08:25:43 -04:00
Chris Babcock
a7b817d8ca Upgrade Android Studio and Gradle (OpenJDK 17 from 2202.2.1 and Gradle 7.5)
#jira UE-182869
#android
#review @Jack.Porter
#rb Ben.Temple

#preflight https://horde.devtools.epicgames.com/job/6470fd1fd729def34b72a8ff

[CL 25651882 by Chris Babcock in ue5-main branch]
2023-05-26 16:03:01 -04:00
Wojciech Krywult
9fe0243168 AutomationTool: Fixed 'Launch failed' messages in the editor after terminating a successfully launched game.The problems was caused by us treating all non-zero results as errors while some platforms return different non-zero codes to provide additional information.
Resolved by adding IProcessResult::bExitCodeSuccess virtual property which may be overridden on the affected platforms to explicitly indicate which exit codes are allowed.

#preflight 6462a07a592448f08bde34e4
#rb David.Harvey
#jira UE-178885
#rnx

[CL 25497459 by Wojciech Krywult in ue5-main branch]
2023-05-16 16:56:31 -04:00
Chris Babcock
baa892e6aa Only archive AAB if bundle enabled for Android
#jira UE-183354
#android
#review @Jack.Porter
#rb Jack.Porter

#preflight https://horde.devtools.epicgames.com/job/6446e99c27014596f3901328

[CL 25171429 by Chris Babcock in ue5-main branch]
2023-04-24 17:12:55 -04:00
Chris Babcock
a4eb7223df Use /sdcard/Android/obb for OBBs for all build types
#jira UE-183941
#android
#review @Jack.Porter
#rb Jack.Porter

#preflight https://horde.devtools.epicgames.com/job/6442ec8df030f684d5297cc5

[CL 25169834 by Chris Babcock in ue5-main branch]
2023-04-24 15:48:01 -04:00
chris babcock
23bd4315be Add Overflow 3 and 4 for Android OBB files
OverflowOBBFileLimit project setting to set number allowed (up to 4, default 2)

#android
[REVIEW] [at]Peter.Sauerbrei
#rb Peter.Sauerbrei

[CL 25035555 by chris babcock in ue5-main branch]
2023-04-13 20:29:30 -04:00
Ben Marsh
7e26c34d2b EpicGames.Core: Deprecate legacy log methods to prefer structured logging interface.
#preflight 640a23d928026468d9de7cbd

[CL 24580590 by Ben Marsh in ue5-main branch]
2023-03-09 14:51:40 -05:00
Ben Marsh
e141cb6196 More UAT structured logging fixes.
#preflight 6408dee3b0544ef0b4bca696

[CL 24564590 by Ben Marsh in ue5-main branch]
2023-03-08 14:32:15 -05:00