Web Browser Widget for Android

Hi, I have problem with WebBrowser Widget on Android using UE 4.14.0.

Everything is OK when project packaging is not For Distribution - apk is signed with debug keystore…
But when I check For Distribution (apk is signed with release key) web browser displays just white screen and application crash after few sec.

logcat error:

Throwing new exception 'no "J" field "nativePtr" in class "Lcom/epicgames/ue4/WebViewControl$ViewClient;" or its superclasses' with unexpected pending exception: java.lang.NoSuchFieldError: no "Lcom/epicgames/ue4/WebViewControl;" field "this$0" in class "Lcom/epicgames/ue4/WebViewControl$ViewClient;" or its superclasses
at void com.epicgames.ue4.WebViewControl$ViewClient.onPageLoad(java.lang.String, boolean, int, int) ((null):-2)
at void com.epicgames.ue4.WebViewControl$ViewClient.onPageStarted(android.webkit.WebView, java.lang.String, android.graphics.Bitmap) ((null):-1)
at void com.android.webview.chromium.WebViewContentsClientAdapter.onPageStarted(java.lang.String) (WebViewContentsClientAdapter.java:517)
at void org.chromium.android_webview.AwContentsClientCallbackHelper$MyHandler.handleMessage(android.os.Message) (AwContentsClientCallbackHelper.java:144)
at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:102)
at void android.os.Looper.loop() (Looper.java:154)
at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6077)
at java.lang.Object java.lang.reflect.Method.invoke!(java.lang.Object, java.lang.Object[]) (Method.java:-2)
at void com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run() (ZygoteInit.java:865)
at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:755)

Logs in attachment.

Test project: Dropbox - Error

Hello MakeBeliever,

I was able to reproduce this issue with the project provided. I have written up a report and I have submitted it to the developers for further consideration. I have also provided a link to the public tracker. Please feel free to use the link provided for future updates.

Link: Unreal Engine Issues and Bug Tracker (UE-39451)

Make it a great day

Hi, we’ve just fixed this for 4.15. The fix is here if you want it earlier:

https://github.com/EpicGames/UnrealEngine/commit/e6dbb91e9e99ed9cf60f22897e161e7c4f1ff692

Cheers
Jack