question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unsupported Webp Image

See original GitHub issue

run ./gradlew clean assembleRelease then the build failed:

* What went wrong:
Execution failed for task ':app:easylauncherRelease'.
> Unsupported image format at /<project_path>/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp

...

Caused by: java.lang.IllegalStateException: Unsupported image format at /<project_path>/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp
        at com.project.starter.easylauncher.plugin.IconTransformerKt.transformImage(IconTransformer.kt:13)
        at com.project.starter.easylauncher.plugin.EasyLauncherTask.run(EasyLauncherTask.kt:55)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:104)
        ...

jdk 11 + gradle 6.8.3

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
bruce3xcommented, Nov 4, 2021

🧐 Ok, I’ll try to reproduce this issue this weekend.

1reaction
bruce3xcommented, Nov 3, 2021

Sorry to reply so late.

Here is the webp image: ic_launcher.webp.zip

Read more comments on GitHub >

github_iconTop Results From Across the Web

WebP image format | Can I use... Support tables for ... - CanIUse
Image format (based on the VP8 video format) that supports lossy and lossless compression, as well as animation and alpha transparency. WebP generally...
Read more >
Frequently Asked Questions | WebP - Google Developers
What is WebP? Why should I use it? WebP is a method of lossy and lossless compression that can be used on a...
Read more >
webp support – unsupported browsers? - WordPress.org
If I upload an webp image and integrate it into a page, are webp unsupported browsers (safari) supported by wordpress so a replacement...
Read more >
WebP Filetype Unsupported : WEB-36384 - YouTrack
Attempts to open .webp files in the project view results in this dialog box. While it's possible to open the images in an...
Read more >
Browser Compatibility Testing of WebP Image Format
BROWSER SUPPORT FOR WebP Image Format · Google Chrome · Mozilla Firefox · Internet Explorer · Safari · Microsoft Edge · Opera.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found