Comments (11)
Are you using Android Studio?
Try Build > Clean Project
and then
Build > Rebuild Project
from android-upload-service.
@idanbar134 does the proposed solution work for you?
from android-upload-service.
I had the same issue in andorid studo, i try to clean and rebuild, it could build successful. but when i debug project on device it will report the same error.
from android-upload-service.
I just import java source code to my project,it works well.
from android-upload-service.
Hey )
Thanks. i fixed it) have great day bro
On Thu, Mar 12, 2015 at 8:51 AM, foodyi [email protected] wrote:
I just import java source code to my project,it works well.
Reply to this email directly or view it on GitHub
#22 (comment)
.
Idan Ayalon
from android-upload-service.
Hi Alex,
How are you?
I'm trying to upload pictures in ssl to my server and i get an exception:
i use this line inside my uploadFileToServer method where i do all Requests.
03-16 09:59:01.582 24782-24903/com.nuro E/com.newrelic.agent.android﹕
Failed to detect New Relic instrumentation. Something likely went wrong
during your build process and you should contact [email protected].
03-16 09:59:27.094 24782-24782/com.nuro E/CliptrayUtils﹕
hideClipTrayIfNeeded() TextView is focused!! hideClipTray()
03-16 10:00:08.093 24782-24782/com.nuro E/CliptrayUtils﹕
hideClipTrayIfNeeded() TextView is focused!! hideClipTray()
03-16 10:00:16.895 24782-24782/com.nuro W/art﹕ Attempt to remove local
handle scope entry from IRT, ignoring
03-16 10:00:16.925 24782-24782/com.nuro W/chromium﹕
[WARNING:resource_bundle.cc(304)] locale_file_path.empty()
03-16 10:00:16.926 24782-25935/com.nuro W/AudioManagerAndroid﹕ Requires
BLUETOOTH permission
03-16 10:00:17.004 24782-24914/com.nuro W/OpenGLRenderer﹕ Trying to scale
down bitmap for texture (2880x5120 -> 2304x4096)
03-16 10:00:35.519 24782-24782/com.nuro W/TouchFlickNoti﹕
CAPP_TOUCH_FLICK: UP vectorVelocity:-9048 signal:-1
03-16 10:00:46.539 24782-24914/com.nuro W/OpenGLRenderer﹕ Trying to scale
down bitmap for texture (2880x5120 -> 2304x4096)
03-16 10:00:47.806 24782-24782/com.nuro E/ChatFragment﹕ Error in upload
with ID: 12fc87f6-8e5f-48e9-8d8b-85058d4629ce. Write error: ssl=0x9a2e1200:
I/O error during system call, Broken pipe
javax.net.ssl.SSLException: Write error: ssl=0x9a2e1200: I/O error
during system call, Broken pipe
at com.android.org.conscrypt.NativeCrypto.SSL_write(Native
Method)
at
com.android.org.conscrypt.OpenSSLSocketImpl$SSLOutputStream.write(OpenSSLSocketImpl.java:740)
at com.android.okio.Okio$1.write(Okio.java:70)
at
com.android.okio.RealBufferedSink.emitCompleteSegments(RealBufferedSink.java:116)
at
com.android.okio.RealBufferedSink.write(RealBufferedSink.java:44)
at
com.android.okhttp.internal.http.HttpConnection$ChunkedSink.write(HttpConnection.java:330)
at
com.android.okio.RealBufferedSink.emitCompleteSegments(RealBufferedSink.java:116)
at
com.android.okio.RealBufferedSink$1.write(RealBufferedSink.java:131)
at
com.alexbbb.uploadservice.UploadService.uploadFiles(UploadService.java:298)
at
com.alexbbb.uploadservice.UploadService.handleFileUpload(UploadService.java:169)
at
com.alexbbb.uploadservice.UploadService.onHandleIntent(UploadService.java:139)
at
android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.os.HandlerThread.run(HandlerThread.java:61)
On Thu, Mar 12, 2015 at 4:13 PM, idanbar134 [email protected] wrote:
Hey )
Thanks. i fixed it) have great day bro
On Thu, Mar 12, 2015 at 8:51 AM, foodyi [email protected] wrote:
I just import java source code to my project,it works well.
—
Reply to this email directly or view it on GitHub
#22 (comment)
.Idan Ayalon
Idan Ayalon
from android-upload-service.
Hello Alex,
I'm trying to upload file to my server and i get an exception:
Error in upload with ID: 7a31894d-342e-4bfc-99be-4bbf4c0ae0c8. sendto failed: EPIPE (Broken pipe): java.net.SocketException: sendto failed: EPIPE (Broken pipe)
at libcore.io.IoBridge.maybeThrowAfterSendto(IoBridge.java:546)
at libcore.io.IoBridge.sendto(IoBridge.java:515)
at java.net.PlainSocketImpl.write(PlainSocketImpl.java:504)
at java.net.PlainSocketImpl.access$100(PlainSocketImpl.java:37)
at java.net.PlainSocketImpl$PlainSocketOutputStream.write(PlainSocketImpl.java:266)
at com.android.okio.Okio$1.write(Okio.java:70)
at com.android.okio.RealBufferedSink.emitCompleteSegments(RealBufferedSink.java:116)
at com.android.okio.RealBufferedSink.write(RealBufferedSink.java:44)
at com.android.okhttp.internal.http.HttpConnection$ChunkedSink.write(HttpConnection.java:334)
at com.android.okio.RealBufferedSink.emitCompleteSegments(RealBufferedSink.java:116)
at com.android.okio.RealBufferedSink$1.write(RealBufferedSink.java:131)
at com.alexbbb.uploadservice.UploadService.uploadFiles(UploadService.java:290)
at com.alexbbb.uploadservice.UploadService.handleFileUpload(UploadService.java:163)
at com.alexbbb.uploadservice.UploadService.onHandleIntent(UploadService.java:133)
at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.os.HandlerThread.run(HandlerThread.java:61)
from android-upload-service.
Hey Alex,
The problem solved thank
On Mar 4, 2015 12:37 PM, "Alex Gotev" [email protected] wrote:
Are you using Android Studio?
Try Build > Clean Project
and then
Build > Rebuild ProjectReply to this email directly or view it on GitHub
#22 (comment)
.
from android-upload-service.
@venvear and @idanbar134 please open a new issue if you experience a problem rather than posting in existing issues like this, which has nothing in common with your problem and only adds confusion :) Thank you!
from android-upload-service.
@alexbbb hi, I'm lost...
Error:Execution failed for task ':app:dexDebug'.
com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/bin/java'' finished with non-zero exit value 2 I clean, build but the issue continue.
from android-upload-service.
Right now, to use Upload Service in Android Studio, I've simply imported the source code and the manifest in a new Android library project. I'm considering to migrate the library in android studio and publish it to jCentral. Please check issue #10. I'm closing this issue as the answer given by @foodyi works also for me.
@aliceresponde I'm using a Mac also, and I think your problem has to do with your java system settings.
from android-upload-service.
Related Issues (20)
- memory leak HOT 2
- Actual file size is not matched with upload file size shown in UploadService HOT 3
- Hey Please add support for java or someone give java example with events(ie:onprogress,oncompleted) HOT 1
- Android 13 support Required HOT 3
- Is there any way tto upload multiple files using different url in same nnotification HOT 1
- java.lang.InstantiationException HOT 1
- Initial notification ignores custom notificationHandlerFactory HOT 7
- Stop Observing from RequestObserver using unregister causing a crash. HOT 3
- Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent. HOT 6
- Google Play will soon require that apps target API level 33 or higher. This will be required for new apps and updates starting on August 31, 2023. HOT 4
- Single notification about all ongoing uploads HOT 3
- Please add support for Android 34 HOT 4
- Java Code Samples? HOT 1
- How to get uploaded file infomation that returned by service api
- Question: Is it possible to send a HTTP request once an upload task finishes? HOT 5
- Question on crash message when closing the app: Unable to create service net.gotev.uploadservice.UploadService HOT 16
- Missing default constructor for SchemeHandler classes HOT 3
- Incompatible version of Kotlin error after upgrading to 4.9.2 HOT 3
- register gotev receiver HOT 2
- Result of uploading file HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-upload-service.