Firebase存储上传的图像无法在亚马逊火灾中使用(型号:Fire 7)

时间:2018-02-13 04:55:17

标签: android firebase firebase-storage

我曾经将图像保存到基本存储设备上,但它在所有Android设备上运行,但在亚马逊火灾中,却发生错误。

这是日志

W/GooglePlayServicesUtil: Google Play Store is missing.
  

E / NetworkRqFactoryProxy:NetworkRequestFactoryProxy失败了   的RemoteException:                                                                       com.google.android.gms.dynamite.DynamiteModule $ zzc:不可接受   模块找到了。本地版本为0,远程版本为0。                                                                           在com.google.android.gms.dynamite.DynamiteModule.zza(未知来源)                                                                           在com.google.android.gms.internal.zzeyb。(未知来源)                                                                           在com.google.android.gms.internal.zzeyb.zzi(未知来源)                                                                           在com.google.firebase.storage.StorageReference.zzclq(未知来源)                                                                           在com.google.firebase.storage.UploadTask.run(未知来源)                                                                           在com.google.firebase.storage.zzs.run(未知来源)                                                                           在   java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)                                                                           在   java.util.concurrent.ThreadPoolExecutor中的$ Worker.run(ThreadPoolExecutor.java:587)                                                                           在java.lang.Thread.run(Thread.java:818)

异常上传任务

  

E / UploadTask:无法从元数据创建网络请求                                                            android.os.RemoteException                                                                在com.google.android.gms.internal.zzeyb。(未知来源)                                                                在com.google.android.gms.internal.zzeyb.zzi(未知来源)                                                                在com.google.firebase.storage.StorageReference.zzclq(未知来源)                                                                在com.google.firebase.storage.UploadTask.run(未知来源)                                                                在com.google.firebase.storage.zzs.run(未知来源)                                                                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)                                                                at java.util.concurrent.ThreadPoolExecutor $ Worker.run(ThreadPoolExecutor.java:587)                                                                在java.lang.Thread.run(Thread.java:818)

存储例外

  

E / StorageException:发生了StorageException。                                                                  发生未知错误,请检查HTTP结果代码和内部   服务器响应的异常。                                                                   代码:-13000 HttpResult:0

firebase存储是否适用于亚马逊消防设备?

2 个答案:

答案 0 :(得分:1)

适用于Android的Firebase SDK基于Google Play服务构建,该服务与Google Play商店相关联。亚马逊设备上没有安装这些软件。

虽然一些Firebase产品可以在没有Play服务的情况下正常工作,但这并不能保证。正式先决条件列于the top of the documentation。您发现没有Play服务,Storage SDK实际上无法运行。

答案 1 :(得分:1)

Google Play服务并非默认使用亚马逊。因此,Google Firebase存储将在没有用户操作的情况下与Amazon合作。

从亚马逊开发者页面:

https://developer.amazon.com/docs/app-submission/migrate-existing-app.html#UnsupportedFeatures

请注意,对于所有Google API,例如地图,应用内结算,云消息(现在是Firebase消息),亚马逊建议迁移到亚马逊服务。

从Google Firebase文档中了解有关要求: https://firebase.google.com/docs/android/setup

  

运行Android 4.0(Ice Cream Sandwich)或更新版本的设备,以及11.8.0或更高版本的Google Play服务

需要Google Play服务。