Unable to build sdk for android. #2509
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.
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
The text was updated successfully, but these errors were encountered: