AWS S3 Gradle dependency line
Is it possible to add an AWS S3 compile-in line build.gradle
to download jar files to an Android project? I can add them to libs folder after downloading the complete zip package from Amazon. But I want to do this using a dependency.
I've tried something like this but no luck.
dependencies {
compile 'com.amazonaws:aws-android-sdk:+'
}
The only solution was to use java sdk, but I want to use the newer version of Android.
dependencies {
compile 'com.amazonaws:aws-java-sdk:+'
}
Can I find and read more information on how to build the compilation line, where can I find this line in the Maven repository? I need S3 and Core for my project.
source to share
It's in the documentation:
compile 'com.amazonaws:aws-android-sdk-s3:2.+'
http://docs.aws.amazon.com/mobile/sdkforandroid/developerguide/setup.html
source to share
The Android AWS SDK supports Maven / Gradle.
Please see this blog post https://mobile.awsblog.com/post/Tx33541C1DGXVQ2/AWS-Mobile-SDK-for-Android-Maven-Support Or just search the Maven repo for "android" http: // mvnrepository .com / artifact / com.amazonaws
source to share
The Android SDK libraries are not available in Maven Central, so you cannot inject them as a remote dependency. Apparently this is what the Amazon AWS team is looking into .
source to share