Fixed
Status Update
Comments
sw...@duosecurity.com <sw...@duosecurity.com> #2
We use build flavours heavily with a lot of common code. The refactoring support in AS is really good but it continually catches us out when it doesn't work across all flavours in a project. It's a big gap for serious product development.
Description
For example, download the "add" icon from material icons. All resolutions other than hdpi are 1-bit (with transparency) PNGs. These files render as expected in the built APK, but render with black background within Android Studio. After running Convert to WEBP, these files render with black background in the built APK as well as within Android Studio.
See attached PNG and WEBP.
Android Studio 3.6.3
Build #AI-192.7142.36.36.6392135, built on April 13, 2020
Runtime version: 1.8.0_212-release-1586-b4-5784211 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.15.4
GC: ParNew, ConcurrentMarkSweep
Memory: 1979M
Cores: 12
Registry: ide.new.welcome.screen.force=true
Non-Bundled Plugins: com.vladsch.idea.multimarkdown, PythonCore, com.google.services.firebase