gpt4 book ai didi

android - 无法启动 S3 TransferUtility

转载 作者:行者123 更新时间:2023-11-29 14:21:32 25 4
gpt4 key购买 nike

当我尝试启动将对象上传到 S3 存储桶的 TransferUtility 时,出现以下错误:

Unable to start service Intent { cmp=com.ntt.vault/com.amazonaws.mobileconnectors.s3.transferutility.TransferService (has extras) } U=0: not found

使用的代码是:

TransferObserver transferObserver = mTransferUtility.upload(Constants.NTT_AWS_S3_BUCKET, key, file);
transferObserver.setTransferListener (new UploadListener());

我确保“key”是正确的,“filename”也是正确的。

最佳答案

这个问题可以通过在 android list 文件中添加服务来解决。

 <service android:name="com.amazonaws.mobileconnectors.s3.transferutility.TransferService" android:enabled="true" />

关于android - 无法启动 S3 TransferUtility,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32600670/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com