-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work lista: assetsPackaging, accessing, or using assetsPackaging, accessing, or using assetsa: imagesLoading, displaying, rendering imagesLoading, displaying, rendering imagesa: qualityA truly polished experienceA truly polished experiencea: tabletTablets and landscape phonesTablets and landscape phonese: device-specificOnly manifests on certain devicesOnly manifests on certain devicesframeworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.platform-androidAndroid applications specificallyAndroid applications specifically
Description
Steps to Reproduce
Use Image.asset() to load a image from assets (also add a 2.0x and 3.0x version according to flutter doc) like this:
assets/foo.png
assets/2.0x/foo.png
assets/3.0x/foo.png
On Android tablets (for e.g. Samsung Galaxy Tab A) this image will be pixelated. On the other hand it works perfectly fine on every iPad.
Target Platform: Android
Target OS version/browser: Android 9
Devices: Galaxy Tab A
I'm using mac mojave with latest flutter hotfix. My flutter doctor output is the following:
❯ flutter doctor -v
[✓] Flutter (Channel stable, v1.9.1+hotfix.6, on Mac OS X 10.14.6 18G95, locale de-DE)
• Flutter version 1.9.1+hotfix.6 at /Users/ikazhdan/flutter
• Framework revision 68587a0916 (vor 7 Wochen), 2019-09-13 19:46:58 -0700
• Engine revision b863200c37
• Dart version 2.5.0
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
• Android SDK at /Users/ikazhdan/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-29, build-tools 28.0.3
• Java binary at: /Applications/Android Studio 3.5
Preview.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 11.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 11.1, Build version 11A1027
• CocoaPods version 1.7.0
[✓] Android Studio (version 3.5)
• Android Studio at /Applications/Android Studio 3.5 Preview.app/Contents
• Flutter plugin version 41.0.2
• Dart plugin version 191.8593
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
[✓] VS Code (version 1.39.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.5.1
[✓] Connected device (1 available)
• SM T515 • R52M404D33A • android-arm • Android 9 (API 28)
red282, Douvi, rodrigo-martins-ifood and zenkog
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work lista: assetsPackaging, accessing, or using assetsPackaging, accessing, or using assetsa: imagesLoading, displaying, rendering imagesLoading, displaying, rendering imagesa: qualityA truly polished experienceA truly polished experiencea: tabletTablets and landscape phonesTablets and landscape phonese: device-specificOnly manifests on certain devicesOnly manifests on certain devicesframeworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.platform-androidAndroid applications specificallyAndroid applications specifically