Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/214.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/amazon-web-services/13.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android 将Thumbor与AWS-s3连接_Android_Amazon Web Services_Amazon S3_Thumbor - Fatal编程技术网

Android 将Thumbor与AWS-s3连接

Android 将Thumbor与AWS-s3连接,android,amazon-web-services,amazon-s3,thumbor,Android,Amazon Web Services,Amazon S3,Thumbor,我有一个桶,上面有AWS上的照片 当我试图在浏览器中访问照片url{photoUrl=}时,我得到了“拒绝访问” 当我用thumbor创建链接时 Thumbor thumbor = Thumbor.create(getResources().getString(R.string.thumbor_sever)); final String newUrl = thumbor.buildImage(photoUrl).resize(48, 48).toUrl(); 再加上毕加索,我得到了一个“40

我有一个桶,上面有AWS上的照片

当我试图在浏览器中访问照片url{photoUrl=}时,我得到了“拒绝访问”

当我用thumbor创建链接时

Thumbor thumbor = Thumbor.create(getResources().getString(R.string.thumbor_sever));

final String newUrl = thumbor.buildImage(photoUrl).resize(48, 48).toUrl();
再加上毕加索,我得到了一个“404找不到”

如果我将aws中的photoUrl替换为它正在工作

我不知道如何以某种方式将Thumb或服务器与AWS连接。

从您的bucket中查看/读取文件需要授予权限。

从您的bucket中查看/读取文件需要授予权限