Bug P2
Status Update
Comments
ko...@gmail.com <ko...@gmail.com> #2
having the same issue
Room version > 2.7.0-alpha08
agp = "8.2.2"
kotlin = "2.0.20"
ksp-plugin = "2.0.20-1.0.24"
also Reverting to Room version 2.7.0-alpha07 solves the issue.
Room version > 2.7.0-alpha08
agp = "8.2.2"
kotlin = "2.0.20"
ksp-plugin = "2.0.20-1.0.24"
also Reverting to Room version 2.7.0-alpha07 solves the issue.
Description
"Service Intent must be explicit" I believe is a newer Android security requirement.
The API signature #bindCustomTabsServicePreservePriority marks the packageName as @Nullable.
Should we update the library to help app developers avoid this RuntimeException?
Exception java.lang.RuntimeException:
at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:3683)
at android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:3840)
at android.app.servertransaction.LaunchActivityItem.execute (LaunchActivityItem.java:105)
at android.app.servertransaction.TransactionExecutor.executeCallbacks (TransactionExecutor.java:136)
at android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:96)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2252)
at android.os.Handler.dispatchMessage (Handler.java:106)
at android.os.Looper.loopOnce (Looper.java:201)
at android.os.Looper.loop (Looper.java:288)
at android.app.ActivityThread.main (ActivityThread.java:7941)
at java.lang.reflect.Method.invoke
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:553)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1003)
Caused by java.lang.IllegalArgumentException: Service Intent must be explicit: Intent { act=android.support.customtabs.action.CustomTabsService }
at android.app.ContextImpl.validateServiceIntent (ContextImpl.java:1805)
at android.app.ContextImpl.bindServiceCommon (ContextImpl.java:1971)
at android.app.ContextImpl.bindService (ContextImpl.java:1897)
at android.content.ContextWrapper.bindService (ContextWrapper.java:812)
at androidx.browser.customtabs.CustomTabsClient.bindCustomTabsServicePreservePriority (CustomTabsClient.java:25)
at no.astrom.app.twa.LauncherActivity.bindCustomTabsService (LauncherActivity.java:1)
at no.astrom.app.twa.LauncherActivity.onCreate (LauncherActivity.java)
at android.app.Activity.performCreate (Activity.java:8104)
at android.app.Activity.performCreate (Activity.java:8084)
at android.app.Instrumentation.callActivityOnCreate (Instrumentation.java:1329)
at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:3653)