Android Gradle error: Amazon S3; Status Code: 403

Q:

Could not get resource ‘s3://pdftron-maven/release/com/pdftron/pdftron/6.10.4/pdftron-6.10.4.pom’.

The AWS Access Key Id you provided does not exist in our records. (Service: Amazon S3; Status Code: 403; Error Code: InvalidAccessKeyId;

A:

Since July 22, 2019, we have changed our integration method to make it easier for customers and you can change it to:

maven {
url “https://pdftron-maven.s3.amazonaws.com/release
}

AWS credentials are no longer required.

See more details here:

Getting below error for sync issues

Failed to list versions for androidx.activity:activity.
Unable to load Maven meta-data from https://pdftron-maven.s3.amazonaws.com/release/androidx/activity/activity/maven-metadata.xml.
Could not get resource ‘https://pdftron-maven.s3.amazonaws.com/release/androidx/activity/activity/maven-metadata.xml’.
Could not GET ‘https://pdftron-maven.s3.amazonaws.com/release/androidx/activity/activity/maven-metadata.xml’. Received status code 403 from server: Forbidden