You need to Use
new MultipartBody.Builder()
Instead of
new MultipartBuilder()
Its working
More Related Contents:
- How to reduce an Image file size before uploading to a server
- Uploading a large file in multipart using OkHttp
- Compress camera image before upload
- Saving and Reading Bitmaps/Images from Internal memory in Android
- Upload large file in Android without outofmemory error
- How to make an app’s background image repeat
- How to convert coordinates of the image view to the coordinates of the bitmap?
- javax.net.ssl.SSLException: Read error: ssl=0x9524b800: I/O error during system call, Connection reset by peer
- OkHttp Post Body as JSON
- How to convert image into byte array and byte array to base64 String in android?
- High resolution Image – OutOfMemoryError
- Android canvas: draw transparent circle on image
- Android save view to jpg or png
- Why use Android Picasso library to download images?
- Android: Get thumbnail of image on SD card, given Uri of original image
- How to display GIF in react-native android app?
- Generate barcode image in Android application
- How might I add a watermark effect to an image in Android?
- capturing images with MediaStore.ACTION_IMAGE_CAPTURE intent in android
- Retrofit 2: Catch connection timeout exception
- How to add parameters to api (http post) using okhttp library in Android
- Convert String text to Bitmap
- How to enable TLSv1.3 for OkHttp 3.12.x on Android 8/9?
- Tracking progress of multipart file upload using OKHTTP
- How do I change the tint of an ImageButton on focus/press
- Android byte[] to image in Camera.onPreviewFrame
- android set image as contact icon/wallpaper
- Open a selected file (image, pdf, …) programmatically from my Android Application?
- combining two png files in android
- retrieve absolute path when select image from gallery kitkat android