awazgyawali / multipart_request

Native Multipart Request to get upload progress on Flutter. Something that's not available on dart:http.
BSD 3-Clause "New" or "Revised" License
10 stars 9 forks source link

AndroidX build error #8

Closed idileepd closed 4 years ago

idileepd commented 4 years ago

Update this flutter package to AndroidX After I upgrade this manually I get rid of this error. WhatsApp Image 2020-07-31 at 5 15 35 PM

idileepd commented 4 years ago

Fixed :: Changed Local cached package Flutter sdk\.pub-cache\hosted\pub.dartlang.org\multipart_request-0.3.0

Step 1 : Flutter sdk\.pub-cache\hosted\pub.dartlang.org\multipart_request-0.3.0\android\build.gradle change :

compileSdkVersion 27

with compileSdkVersion 28

image

Step 2: Flutter sdk\.pub-cache\hosted\pub.dartlang.org\multipart_request-0.3.0\android\gradle.properties add these 2 lines

android.useAndroidX=true android.enableJetifier=true

image

idileepd commented 4 years ago

I am making this issue open until package updates

awazgyawali commented 4 years ago

Version 0.3.1 is live now.

idileepd commented 4 years ago

thanks