-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AWSNativeSDK Android/iOS Compile Fix (#253)
- Fix Android/iOS AWS SDK compiler error to include AWS-utils lib dependency - Revert back AWS SDK to compile with Android API 21 instead of 33. Note: This was originally bumped to 33 to work around a compiler error from backtrace(), which only exists in Android API 33. Compile and installing the APK works fine now. I had originally ran into the issue using v1.11.264, but now using v1.11.288 this seems to work. AWS libraries check to see if backtrace is available via [AWS_HAVE_EXECINFO](https://github.com/ydb-platform/ydb/blob/9bcbbd617cfcf26e791b5f16cac239f3fa1bc632/contrib/restricted/aws/aws-c-common/source/posix/system_info.c#L170). This variable is set during the [AWS common library feature test](https://github.com/awslabs/aws-c-common/blob/ae7b067d9274d2d3faa1d3ae42d489a6986661f7/cmake/AwsFeatureTests.cmake#L113). Using SDK 21 allows older Android device to run with the O3DE AWS gem. Tested by deploying Multiplayer Sample to an Android phone (API 30) - Remove Popcorn Fx cmake and code - Run `D:\prj\o3de\scripts\o3de.bat export-project -es D:\prj\o3de\scripts\o3de\ExportScripts\export_source_android.py --project-path D:\prj\multiplayersample\ --log-level INFO --config release --asset-mode PAK -abp D:\prj\multiplayersample\build\android\ --seedlist D:\prj\multiplayersample\AssetBundling\SeedLists\GameSeedList.seed --deploy-to-android` Fixes o3de/o3de#17827
- Loading branch information
Showing
6 changed files
with
9 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters