-
Notifications
You must be signed in to change notification settings - Fork 239
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Image upload issue #12
Comments
Hey i also make this problem like you, i want to know have you fixed it? and if ok, can you tell me how to fix it? tks so much!!! |
i've just fixed it, I add permission : WRITE_EXTERNAL_STORAGE |
i have the same problem, what is the solution? |
please help same problem |
add this to manifestfile <uses-permission
android:name="android.permission.WRITE_EXTERNAL_STORAGE"
/>
R33N4
…On Wed, Aug 23, 2017 at 12:36 PM, equilizer ***@***.***> wrote:
please help same problem
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#12 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AYpEyj4aRDvD7SHRno6mze_Qd4y1wZCdks5sa8-NgaJpZM4K_1h2>
.
|
I wrote it from start connected firebase with my app, but I don't know what is the problem!
On Aug 23, 2017, at 10:58 AM, ReenaKoR <notifications@github.com<mailto:notifications@github.com>> wrote:
add this to manifestfile <uses-permission
android:name="android.permission.WRITE_EXTERNAL_STORAGE"
/>
R33N4
On Wed, Aug 23, 2017 at 12:36 PM, equilizer ***@***.******@***.***>> wrote:
please help same problem
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#12 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AYpEyj4aRDvD7SHRno6mze_Qd4y1wZCdks5sa8-NgaJpZM4K_1h2>
.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#12 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AdN1MilEfNm9mLY-7G1KeRi_lF8qG3WCks5sa9ungaJpZM4K_1h2>.
|
Your app should be compatible with Android OS 5.1 and newer, because you cannot read/write internal & external storage. More on: Android 4.0, 4.1, 4.2, 4.3, 4.4 and even 5.0 are affected by the issue of Google, not having an option to change the permission for your application. You cannot even call the request for permission, because it does not exist as is in the stated Android OS versions, while changing the android manifest.xml file does not help either. Regarding the HTTP error from Firebase, did you copy the right Storage Bucket parameter/URL to the app?
|
11-30 11:22:29.106 5465-5873/alessandro.firebaseChat E/StorageException: StorageException has occurred.
An unknown error occurred, please check the HTTP result code and inner exception for server response.
Code: -13000 HttpResult: 400
11-30 11:22:29.106 5465-5873/alessandro.firebaseChat E/StorageException: The server has terminated the upload session
java.io.IOException: The server has terminated the upload session
at com.google.firebase.storage.UploadTask.zzcyp(Unknown Source)
at com.google.firebase.storage.UploadTask.zzcyo(Unknown Source)
at com.google.firebase.storage.UploadTask.run(Unknown Source)
at com.google.firebase.storage.StorageTask$5.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
at java.lang.Thread.run(Thread.java:856)
11-30 11:22:29.114 5465-5465/alessandro.firebaseChat E/MainActivity: onFailure sendFileFirebase An unknown error occurred, please check the HTTP result code and inner exception for server response.
The text was updated successfully, but these errors were encountered: