Questions tagged [aws-sdk-android]
11 questions
25
votes
5 answers
java.lang.NoClassDefFoundError: Failed resolution of: Lorg/apache/commons/logging/LogFactory
Similar questions have need asked already. But this one seems to be more complicated than previous ones because of changes in compatibility of Android Platforms.
Here is my error log from Pixel and Pixel2 which are signed up for Android Beta…

Mohammed Atif
- 4,383
- 7
- 28
- 57
7
votes
2 answers
AWS S3 Android SDK 2.11.0
My code looks like this:
final AmazonS3Client s3Client = new AmazonS3Client(new BasicAWSCredentials(s3AccessKeyId, s3SecretAccessKey));
final TransferUtility util = TransferUtility.
…

GC268DM
- 403
- 7
- 15
5
votes
1 answer
How to force auth token refresh with AWS Amplify Android?
I cannot find information on how to refresh access tokens using AWS' Amplify Android library.
In the documentation, and on some forums, it was suggested that it all happens automatically. But in my case, it does not.
In the app I use Amplify Auth…

baltekg
- 985
- 9
- 31
1
vote
1 answer
How to use the aws genarated Android SDK with api gateway
My deployed AWS API Gateway has one endpoint:
/users with a DELETE Method. I'm trying to call this method from my android app using a generated SDK.
I have deployed the API, then generated the SDK in the API Gateway console and downloaded my zip…

bwx--2
- 181
- 2
- 11
1
vote
0 answers
java.lang.NoSuchMethodError: No virtual method canCancel(Z)Lcom/amazonaws/mobile/auth/ui/AuthUIConfiguration$Builder
I'm developing a sample Android app using AWS Mobile SDK by utilizing Auth.UI method.
When build and run the app, it crashes with the following error :
java.lang.NoSuchMethodError: No virtual method…

aksyuma
- 2,957
- 1
- 15
- 29
1
vote
1 answer
AWS sdk for android: How to change the host end point
I'm using Wasabi for my file storage and I need to change the AWS SDK clients host url to that of wasabi. How can I do that?
AmazonS3Client s3client = new AmazonS3Client(new AWSCredentials() {
@Override
public String…

krishnakumarcn
- 3,959
- 6
- 39
- 69
1
vote
1 answer
What is the url for aws cognito login for the android sdk
I made an android app that uses the aws cognito sdk to login to a user pool. This returns the 3 tokens (id, access, refresh) and I can then call my api gateway. This all works, no problems. However, when I am debugging the app I can't see the call…

user1584120
- 1,169
- 2
- 23
- 44
0
votes
1 answer
How to get value from aws api gateway to android studio (java)
I dont understand why my output received by my android app from api gateway is like this dummypackage.model.Resultur@d0cce8e and not in string or json. how can i get some readable data?
I set up a dummy lambda function that sends a response
…

bernard
- 3
- 2
0
votes
1 answer
InvalidConfigurationException: Identity pool isn't set up for SNS using AmazonCognitoSync service
I have been trying to use AWS SDKs for Push Notifications. But I am getting errors. Tried to find a solution, but can't find much support for this.
iOS & Web push notifications are working fine
What all is already setup & done:
AWS back-end &…

Gaurav Gupta
- 1
- 2
0
votes
1 answer
AWS Cognito authorizer not working with AWS SDK for Android
In my Android project, I use the AWS SDK to register users thanks to Cognito and call APIs in API Gateway. In my Cognito user pool, I created a user pool group. The purpose of that group is to only allow the users in that group to call a specific…

matteoh
- 2,810
- 2
- 29
- 54
0
votes
1 answer
AWS IoT Core and Mobile SDK - Cache Capacity and Cache Control?
How does AWS IoT SDK for Things or for Mobile(Android/iOS) stores data to sync later when network is not present or device(Thing/Mobile) is not connected to internet.
Is there a Storage Manager and Sync Manager concept while communicating between…

Apurv Mahesh
- 3
- 4