Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to build sdk for android. #2509

Closed
ankurthegamedev opened this issue May 24, 2023 · 3 comments
Closed

Unable to build sdk for android. #2509

ankurthegamedev opened this issue May 24, 2023 · 3 comments
Assignees
Labels
bug This issue is a bug. duplicate This issue is a duplicate. response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 10 days.

Comments

@ankurthegamedev
Copy link

Describe the bug

We are also facing the same issue sdk compiling fine for win and linux.But for android we are helpless.

Command : cmake ../aws-sdk-cpp -DENABLE_UNITY_BUILD=ON -DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE=Release -DTARGET_ARCH=ANDROID -DCUSTOM_MEMORY_MANAGEMENT=ON -DANDROID_NATIVE_API_LEVEL=19 -DNDK_DIR="/home/ankur/Android/Sdk/ndk/19.2.5345600" -DENABLE_TESTING=OFF -DCMAKE_PREFIX_PATH=/usr/local/install_sdk_android -DCMAKE_INSTALL_PREFIX=/usr/local/install_sdk_android -DBUILD_ONLY="apigateway;apigatewayv2;apigatewaymanagementapi;appsync;chime;cognito-identity;cognito-idp;cognito-sync;connect;dax;docdb;dynamodb;ec2;ecr;ecs;elasticache;email;eventbridge;events;iam;identity-management;lambda;mediaconnect;mediaconvert;medialive;mobile;pinpoint;queues;rds;s3;sesv2;sms;sms-voice;sqs;ssm"

-- Building Curl as part of AWS SDK
CMake Error: The source directory "/home//AWS/aws-sdk-cpp/android-build" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
CMake Error at cmake/build_external.cmake:139 (message):
Failed to configure dependency libraries.
Call Stack (most recent call first):
CMakeLists.txt:198 (include)

Expected Behavior

Static Libs for android.

Current Behavior

Not able for build aws sdk c ++ for android target

Reproduction Steps

cmake ../aws-sdk-cpp -DENABLE_UNITY_BUILD=ON -DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE=Release -DTARGET_ARCH=ANDROID -DCUSTOM_MEMORY_MANAGEMENT=ON -DANDROID_NATIVE_API_LEVEL=19 -DNDK_DIR="/home/ankur/Android/Sdk/ndk/19.2.5345600" -DENABLE_TESTING=OFF -DCMAKE_PREFIX_PATH=/usr/local/install_sdk_android -DCMAKE_INSTALL_PREFIX=/usr/local/install_sdk_android -DBUILD_ONLY="apigateway;apigatewayv2;apigatewaymanagementapi;appsync;chime;cognito-identity;cognito-idp;cognito-sync;connect;dax;docdb;dynamodb;ec2;ecr;ecs;elasticache;email;eventbridge;events;iam;identity-management;lambda;mediaconnect;mediaconvert;medialive;mobile;pinpoint;queues;rds;s3;sesv2;sms;sms-voice;sqs;ssm"

Possible Solution

No response

Additional Information/Context

I

AWS CPP SDK version used

Latest github source at

Compiler and Version used

clang

Operating System and version

Ubuntu 22.04

@ankurthegamedev ankurthegamedev added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels May 24, 2023
@yasminetalby yasminetalby self-assigned this May 24, 2023
@yasminetalby
Copy link
Contributor

Hello @ankurgamedev ,

Thank you very much for your submission.
This issue has already been brought up to the team and is a duplicate of the following issue submission : #2452
I see that you have commented there. To help with issue tracking, I was wondering if I could close this submission as a duplicate and post updates and communications on the original submission. You will be notified as you have commented there as well.

Thank you very much for your time and collaboration.

Sincerely,

Yasmine

@yasminetalby yasminetalby added duplicate This issue is a duplicate. response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 10 days. and removed needs-triage This issue or PR still needs to be triaged. labels May 24, 2023
@github-actions
Copy link

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

@ankurthegamedev
Copy link
Author

But please resolve the issue as We are unable to use latest version of sdk within our game. Version 1.8 is compiling.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug. duplicate This issue is a duplicate. response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 10 days.
Projects
None yet
Development

No branches or pull requests

2 participants