Cookienator
Cookienator

Reputation: 647

Amazon S3 issues - Cannot resolve symbol AmazonS3Client

I'm trying to integrate Amazon S3 into my app.

I followed the following document, and added the corresponding dependencies:

https://docs.aws.amazon.com/aws-mobile/latest/developerguide/add-aws-mobile-user-data-storage.html

When I'm trying to integrate the "Upload a File" section into my app, I'm getting "Cannot resolve symbol AmazonS3Client". This should be the import:

import com.amazonaws.mobile.client.AWSMobileClient;

However, for some reason, this is what I see in my code: enter image description here

Any idea what can be done?

Upvotes: 4

Views: 4418

Answers (1)

Cookienator
Cookienator

Reputation: 647

OK, this issue solves it (the document I was following did not include the needed 3rd import):

AWSMobileClient is not found

Upvotes: 2

Related Questions