flutter_launcher_icons
flutter_launcher_icons copied to clipboard
Adaptive icon issue
`* What went wrong: Execution failed for task ':app:mergeDebugResources'.
java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource compilation failed C:\Users\test\Documents\GitHub\test\android\app\src\main\res\values\colors.xml:3:5-78: AAPT: error: invalid color.
Gradle task assembleDebug failed with exit code 1`
I keep receiving this error after I tried to use adaptive icon, when I try to change back to non-adaptive icon, same error popped up also.
This problem happens because we are using an image as adaptive image background, and somehow that is interpreted as colors. Frankly this package does not work for adaptive icons. We have to go into android directory and handle the images and res/mipmap-anydpi-v26/ic_launcher.xml ourselves. The link to adaptive icons here https://developer.android.com/guide/practices/ui_guidelines/icon_design_adaptive
eeehm...
@MarkOSullivan94