-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Execution failed for task ':flutter_inappwebview_android:minifyReleaseWithR8'. #2193
Comments
NOTE: This comment is auto-generated. Are you sure you have already searched for the same problem? Some people open new issues but they didn't search for something similar or for the same issue. Please, search for it using the GitHub issue search box or on the official inappwebview.dev website, or, also, using Google, StackOverflow, etc. before posting a new one. You may already find an answer to your problem! If this is really a new issue, then thank you for raising it. I will investigate it and get back to you as soon as possible. Please, make sure you have given me as much context as possible! Also, if you didn't already, post a code example that can replicate this issue. In the meantime, you can already search for some possible solutions online! Because this plugin uses native WebView, you can search online for the same issue adding Following these steps can save you, me, and other people a lot of time, thanks! |
Any luck with this? |
|
Exact same problem here |
Also i have this problem |
I also have this problem |
Same issue here. FAILURE: Build failed with an exception.
|
Same here. |
Me too |
I got around this by adding flutter_inappwebview_android to the
|
Me too |
hi @ChrisElliotUK , any update on this? thank you |
dependency_overrides: |
same error here, please provide a fix |
@DurgeshSawantWYLD please provide the error with screenshot |
ERROR: Missing classes detected while running R8. Please add the missing classes or apply additional keep rules that are generated in ./build/flutter_inappwebview_android/outputs/mapping/release/missing_rules.txt. FAILURE: Build failed with an exception.
BUILD FAILED in 2m 9s |
@DurgeshSawantWYLD please provide the pubspec.yaml |
Same issue, Please fix it |
@DurgeshSawantWYLD please provide the pubspec.yaml file or you can add this line after dependencies dependency_overrides: |
It resolves the issue. Thank you @ChrisElliotUK
|
Im facing same issue. |
Me too |
Same error |
Me too facing same issue |
I created a temporary package until this problem is resolved here. |
I am facing this issue too. But this fixed it for now. I hope the owner releases an update soon.
|
any update @pichillilorenzo ? this issue still persistence in flutter SDK 3.22.3. Please solve this issue and release a new version. Thanks. |
Facing the same issue. FYI - @pichillilorenzo |
Same issue on Flutter 3.24.1 |
same here work fine with run but bruild release don't work |
After January author maybe inactive since today. What should we do? |
This worked, hopefully the issue gets fixed soon |
I had the same issue, and I after changes it works the build release buildTypes {
release {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
} from plugins {
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
id "com.android.application" version "8.1.0" apply false
id "org.jetbrains.kotlin.android" version "1.8.22" apply false
} to plugins {
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
id "com.android.application" version "7.3.0" apply false
id "org.jetbrains.kotlin.android" version "1.8.22" apply false
} |
The following fix worked for me:
It avoids to fork the main repo. @pichillilorenzo is any fix release planned? |
Released new |
In which file? |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug and a minimal reproduction of the issue. |
Environment
Device information:
Description
Expected behavior:
Current behavior:
Steps to reproduce
Images
Stacktrace/Logcat
The text was updated successfully, but these errors were encountered: