custom-tabs-client demo can not launch
Reported by
wquiet23...@gmail.com,
Sep 30
|
||||
Issue description
Device name: Galaxy Note5
From "Settings > About Chrome"
Application version: latest
Operating system: android 7.0
Steps to reproduce:
android studio compile install after not start
Expected result:
09-30 14:40:51.247 21088-21088/org.chromium.twa.svgomg E/AndroidRuntime: FATAL EXCEPTION: main
Process: org.chromium.twa.svgomg, PID: 21088
java.lang.RuntimeException: Unable to start activity ComponentInfo{org.chromium.twa.svgomg/org.chromium.twa.svgomg.TwaLauncherActivity}: java.lang.IllegalArgumentException: Service Intent must be explicit: Intent { act=android.support.customtabs.action.CustomTabsService launchParam=MultiScreenLaunchParams { mDisplayId=0 mFlags=0 } }
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2927)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2988)
at android.app.ActivityThread.-wrap14(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1631)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6682)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1520)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1410)
Caused by: java.lang.IllegalArgumentException: Service Intent must be explicit: Intent { act=android.support.customtabs.action.CustomTabsService launchParam=MultiScreenLaunchParams { mDisplayId=0 mFlags=0 } }
at android.app.ContextImpl.validateServiceIntent(ContextImpl.java:1391)
at android.app.ContextImpl.bindServiceCommon(ContextImpl.java:1524)
at android.app.ContextImpl.bindService(ContextImpl.java:1492)
at android.content.ContextWrapper.bindService(ContextWrapper.java:696)
at android.support.customtabs.CustomTabsClient.bindCustomTabsService(CustomTabsClient.java:71)
at org.chromium.twa.svgomg.TwaSessionHelper.bindService(TwaSessionHelper.java:183)
at org.chromium.twa.svgomg.TwaLauncherActivity.onCreate(TwaLauncherActivity.java:36)
at android.app.Activity.performCreate(Activity.java:6942)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1126)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2880)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2988)
at android.app.ActivityThread.-wrap14(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1631)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6682)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1520)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1410)
Actual result:
,
Oct 1
@wquiet23146: Please provide steps to reproduce the issue, sample test file along with chrome version details. Also please provide screencast, this would help in further triaging. Thanks!
,
Oct 1
,
Oct 4
What version of the custom tabs support library are you using? Also, do you have Chrome Dev or Chrome Canary installed on your test device?
,
Nov 12
Closing this issue due to lack of feedback from reporter. Please feel free to raise a new issue if this is still seen on latest build #70.0.3538.80. Thanks! |
||||
►
Sign in to add a comment |
||||
Comment 1 by chelamcherla@chromium.org
, Oct 1