I have installed AWS toolkit for java and then connected it to the project in the build path, and now I'm trying to upload file to S3
File fileOfImages = new File("/sdcard/Save Image Tutorial");
AmazonS3 s3client = new AmazonS3Client(new ProfileCredentialsProvider());
s3client.putObject(new PutObjectRequest("rosh-haayin-images", "images",fileOfImages));
But it fails and I'm getting the below error:
ClassNotFoundException: com.amazonaws.auth.AWSCredentialsProvider
Can someone help me with the solution?