ko2ic / image_downloader

Flutter plugin that downloads images and movies on the Internet and saves to Photo Library on iOS or specified directory on Android.
https://pub.dartlang.org/packages/image_downloader#-readme-tab-
MIT License
92 stars 116 forks source link

Run time error (Android) #6

Closed 8013853290 closed 5 years ago

8013853290 commented 5 years ago

C:\Users\user.gradle\caches\transforms-1\files-1.1\core-1.0.1.aar\5fa504017df0cb8b948001bd21bf1b1c\res\values\values.xml:133:5-70: AAPT: error: resource android:attr/fontVariationSettings not found.

C:\Users\user.gradle\caches\transforms-1\files-1.1\core-1.0.1.aar\5fa504017df0cb8b948001bd21bf1b1c\res\values\values.xml:133:5-70: AAPT: error: resource android:attr/ttcIndex not found.

FAILURE: Build failed with an exception.

pls check.

ko2ic commented 5 years ago

@8013853290 Since the current version is working steadily, I think there is something wrong with the application.
For example, your application is depending on Plugin which depends on old support library.(By the way this plugin is compatible with AndroidX.)

Is there a similar result with a simple application that depend on image_downloader? And please paste result of flutter doctor -v .

maylortaylor commented 5 years ago

I also get this issue when I use image_downloader: ^0.11.1 If i remove this dependency and all references to it in my code, my app builds and runs fine.

ko2ic commented 5 years ago

@maylortaylor Thank you for comment.

What is your compileSdkVersion?
If it is 27, please set it to 28.

I feel the same as this content.

maylortaylor commented 5 years ago

My compileSdkVersion was set to 27.

Changing compileSdkVersion to 28 did fix the issue.

ko2ic commented 5 years ago

@8013853290
If it is the same reason close it. How about that?