https://github.com/awslabs/aws-sdk-android-samples/blob/master/S3TransferUtilitySample
- Manifest merger failed : Attribute manifest@versionName value=(1.0) from AndroidManifest.xml:5:5-30 is also present at AndroidManifest.xml:5:5-30 value=(1.0.0). Attributes of <manifest> elements are not merged.
最后一行改为=“1.0.0”
- Could not find com.android.tools.lint:lint-gradle:26.1.4.
build.gradle中添加
./gradlew build 运行
In AWS:
1. Go to cognito console and create an identity pool.
2. Go to IAM -> *unauth* -> attach policy -> s3fullaccess.
安装测试
上传图片后可make public