Shell apk crashed without any crash info

29 views
Skip to first unread message

jiawei hu

unread,
Feb 14, 2023, 7:52:25 AM2/14/23
to weblayer-dev
Hi there,

Currently I noticed that weblayer project has been changed to WebEngine project, and I tried to run the shell apk on my android device. But the shell apk crashed without any crash info (no stacktrace),  here is what I did:

1) run command: autoninja -C out/Default run_webengine_shell,
then I got 3 apks in out/Default/apks.

2) for I built the source code on a cloud dev machine, so I can't run command out/Default/bin/run_webengine_shell on dev machine because no android device attached to it. Then I tried to download the 3 apks and install them all, afater that, I clicked to launch the WEShellSandbox.apk, but it crashed without any crash info (no stacktrace) in logcat.

Would you please help me get through this problem? Did I do it the wrong way?

Thanks a lot.

guotao wang

unread,
Dec 27, 2023, 10:20:47 PM12/27/23
to weblayer-dev, jiawei hu

if crash stack like this, maybe you need get android-13 device

AndroidRuntime: FATAL EXCEPTION: main
AndroidRuntime: Process: org.chromium.webengine.shell, PID: 11810
AndroidRuntime: java.lang.NoSuchMethodError: No virtual method getHostToken()Landroid/os/IBinder; in class Landroid/view/SurfaceView; or its super classes (declaration of 'android.view.SurfaceView' appears in /system/framework/framework.jar!classes3.dex)
AndroidRuntime: at org.chromium.webengine.WebFragment$2.surfaceCreated(WebFragment.java:63)
AndroidRuntime: at android.view.SurfaceView.updateSurface(SurfaceView.java:854)
AndroidRuntime: at android.view.SurfaceView$2.onPreDraw(SurfaceView.java:170)
AndroidRuntime: at android.view.ViewTreeObserver.dispatchOnPreDraw(ViewTreeObserver.java:1088)
AndroidRuntime: at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2923)
AndroidRuntime: at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1852)
AndroidRuntime: at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:8381)
AndroidRuntime: at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1057)
AndroidRuntime: at android.view.Choreographer.doCallbacks(Choreographer.java:862)
AndroidRuntime: at android.view.Choreographer.doFrame(Choreographer.java:797)
AndroidRuntime: at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1042)
AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:883)
AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:100)
AndroidRuntime: at android.os.Looper.loop(Looper.java:217)
AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7993)
AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:502)
AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:955)

Colin Blundell

unread,
Jan 2, 2024, 3:36:14 AM1/2/24
to guotao wang, weblayer-dev, jiawei hu
Hello,

WebLayer/WebEngine is no longer supported in Chromium. 

Best,

Colin

--
You received this message because you are subscribed to the Google Groups "weblayer-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weblayer-dev...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/weblayer-dev/5cf0bf53-e1e1-4e05-bdbc-270ee11fdfd8n%40chromium.org.
Reply all
Reply to author
Forward
0 new messages