-
-
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
jetified-appcompat-resources-1.7.0-runtime.jar: D8: java.lang.NullPointerException: Cannot invoke "String.length() Error happened after updating new version #2297
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 fix for this ? @sagarZodage seems like version is highly unstable |
Not Yet . @ZoftPranav Please let me know if anyone find any solution |
I will try to downgrade to the previous version for the Android native appcompat dependency. |
I have also tried but not working below version I am currently working .
|
@sagarZodage which version of Flutter are you using? androidx.appcompat 1.3.1 seems to be pretty old (check https://mvnrepository.com/artifact/androidx.appcompat/appcompat). |
Also tried with 'androidx.appcompat:appcompat:1.7.0' version not working |
@sagarZodage 1.7.0 is the current version, have you tried with 1.6.0? It’s the version used by flutter_inappwebview 6.0.0 |
I have also tried but not working . Its not the androidx.appcompat issue this issue is occuring becasue of the unstable flutter_inappwebview. and I used this |
Have you tried to upgrade the Android gradle version? Check #2290 (comment) |
Yes, tried... |
Released new |
@pichillilorenzo
.
|
The SUPPRESS_ERROR_PAGE unsupported feature has been already removed on the new plugin version, so use flutter_inappwebview 6.1.0. |
Thanks now its working fine😍 |
@sagarZodage I don’t know what is your |
Thanks it's working! |
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
ERROR:/Users/Apple/.gradle/caches/transforms-3/772418b938aa555c88328e65887df653/transformed/jetified-appcompat-resources-1.7.0-runtime.jar: D8: java.lang.NullPointerException: Cannot invoke "String.length()" because "" is null
ERROR:/Users/Apple/.gradle/caches/transforms-3/6f430dba7a9d0caec54877b72ee5cd99/transformed/appcompat-1.7.0-runtime.jar: D8: java.lang.NullPointerException: Cannot invoke "String.length()" because "" is null
This error happened while running application after new update
Tried overriding flutter_inappweview_android package with older version,
then this error gone and app runs but some functionalities not working like in youtube_player_flutter package. Also i have checked this player's source code to ensure it is using latest flutter_inappwebview package.
The folllowing exception also showing i am not sure about this is related to youtube_player_flutter package or flutter_inappwebview package
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(error, Unknown feature SUPPRESS_ERROR_PAGE, null, java.lang.RuntimeException: Unknown feature SUPPRESS_ERROR_PAGE
The text was updated successfully, but these errors were encountered: