katzer / cordova-plugin-email-composer

Edit and send email messages
Apache License 2.0
345 stars 336 forks source link

java.lang.RuntimeException: Unable to start activity ComponentInfo{...}, Failed to create webview. #384

Closed shaileshSingh007 closed 5 months ago

shaileshSingh007 commented 5 months ago

I am working on android 12(33), everythings work perfectly when install in my android device, but when i upload it to play store and send for review, i am getting bellow issue from playstore rewiew system (mostly in pixel mobiles )

But when i remove this plugin , there is no issue.... i think there is something with this plugin

`Exception java.lang.RuntimeException: Unable to start activity ComponentInfo{ss.ssg.boxescape/ss.ssg.boxescape.MainActivity}: java.lang.RuntimeException: Failed to create webview.

at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:3431) at android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:3595) at android.app.servertransaction.LaunchActivityItem.execute (LaunchActivityItem.java:85) at android.app.servertransaction.TransactionExecutor.executeCallbacks (TransactionExecutor.java:135) at android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:95) at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2066) at android.os.Handler.dispatchMessage (Handler.java:106) at android.os.Looper.loop (Looper.java:223) at android.app.ActivityThread.main (ActivityThread.java:7664) at java.lang.reflect.Method.invoke at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:592) at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:947) Caused by java.lang.RuntimeException: Failed to create webview. at org.apache.cordova.CordovaWebViewImpl.createEngine (CordovaWebViewImpl.java:111) at org.apache.cordova.CordovaActivity.makeWebViewEngine (CordovaActivity.java:111) at org.apache.cordova.CordovaActivity.makeWebView (CordovaActivity.java:111) at org.apache.cordova.CordovaActivity.init (CordovaActivity.java:111) at org.apache.cordova.CordovaActivity.loadUrl (CordovaActivity.java:111) at ss.ssg.boxescape.MainActivity.onCreate (MainActivity.java:111) at android.app.Activity.performCreate (Activity.java:7994) at android.app.Activity.performCreate (Activity.java:7978) at android.app.Instrumentation.callActivityOnCreate (Instrumentation.java:1309) at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:3404) Caused by java.lang.NoSuchMethodException: g1.a. [class android.content.Context, class f1.f] at java.lang.Class.getConstructor0 (Class.java:2332) at java.lang.Class.getConstructor (Class.java:1728) at org.apache.cordova.CordovaWebViewImpl.createEngine (CordovaWebViewImpl.java:80) at org.apache.cordova.CordovaActivity.makeWebViewEngine (CordovaActivity.java:80) at org.apache.cordova.CordovaActivity.makeWebView (CordovaActivity.java:80) at org.apache.cordova.CordovaActivity.init (CordovaActivity.java:80) at org.apache.cordova.CordovaActivity.loadUrl (CordovaActivity.java:80) at ss.ssg.boxescape.MainActivity.onCreate (MainActivity.java:80)`

jfoclpf commented 5 months ago

and why do you assume the problem is with this plugin?

shaileshSingh007 commented 5 months ago

I am not sure if this causing the issue,i also used plugin-inappbrowser, that also causing the same issue.....i am new and i dont know how to solve this....

jfoclpf commented 5 months ago

I think it has nothing to do with this plugin