简体   繁体   English

AWS S3 Transfer Manager演示已关闭

[英]aws S3 Transfer Manager Demo shut down

I am trying to run the AWS android samples from https://github.com/awslabs/aws-sdk-android-samples 我正在尝试从https://github.com/awslabs/aws-sdk-android-samples运行AWS android示例

I have included the following jars in libs: 我在libs中包含以下jar:

  • aws-android-sdk-2.0.4-cognito.jar aws-android-sdk-2.0.4-cognito.jar
  • aws-android-sdk-2.0.4-core.jar aws-android-sdk-2.0.4-core.jar
  • aws-android-sdk-2.0.4-s3.jar aws-android-sdk-2.0.4-s3.jar

Also I have added the AWS_ACCOUNT_ID, COGNITO_POOL_ID, COGNITO_ROLE_UNAUTH, BUCKET_NAME 此外,我还添加了AWS_ACCOUNT_ID, COGNITO_POOL_ID, COGNITO_ROLE_UNAUTH, BUCKET_NAME

this is the logcat 这是logcat
logcat屏幕截图

When im runnig this sample, action and then program shuts down. 在运行此示例时,将执行操作,然后程序关闭。 What is problem? 怎么了
I don't know what to do. 我不知道该怎么办。

The stacktrace shows accountId is malformed. 堆栈跟踪显示accountId格式错误。 The accountId isn't your login email of your AWS account. accountId不是您的AWS账户的登录电子邮件。 Instead, it should be a 12 digit account number. 而是应使用12位数字的帐号。 One way to find it is to go to console -> My Account (top right corner). 找到它的一种方法是转到控制台-> My Account (右上角)。

PS: consider use the latest SDK version v2.2.2. PS:考虑使用最新的SDK版本v2.2.2。 It has lots of improvements compared to v2.0.4. 与v2.0.4相比,它有很多改进。 You can find it at http://aws.amazon.com/mobile/sdk/ . 您可以在http://aws.amazon.com/mobile/sdk/上找到它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM