android - 链接在某些设备上未作为即时应用程序打开

标签 android deep-linking applinks android-instant-apps digital-assets-links

我已经在 Play 商店中发布了我的免安装应用。当我点击来自 gmail 的链接时,它会在某些设备中作为即时应用程序打开(三星 s6 note,moto g4 plus)

在某些设备上它不工作,但这些设备有设置->谷歌->即时应用程序选项。但免安装应用无法运行。

我的数字 Assets 链接是https://abdcoop.mybuzztm.com/.well-known/assetlinks.json

任何人都可以建议我缺少什么?

我已经添加了我的日志。

I/Timeline: Timeline: Activity_launch_request time:74970969
I/ActivityManager: START u0 {act=android.intent.action.VIEW dat=https://www.google.com/... pkg=com.android.chrome cmp=com.android.chrome/com.google.android.apps.chrome.Main (has extras)} from uid 10087 on display 0
D/WtProcessController: onAMCreateActivity callback
D/ActivityTrigger: ActivityTrigger activityPauseTrigger 
E/ANDR-PERF-MPCTL: Invalid profile no. 0, total profiles 0 only
E/ActivityManager: Invalid thumbnail dimensions: 0x0
D/PowerManagerService: acquireWakeLockInternal: lock=176192276, flags=0x1, tag="*launch*", ws=WorkSource{10059}, uid=1000, pid=1562
D/PowerManagerService: updateWakeLockSummaryLocked: mWakefulness=Awake, mWakeLockSummary=0x1
D/PowerManagerService: updateUserActivitySummaryLocked: mWakefulness=Awake, mUserActivitySummary=0x1, nextTimeout=2222436507 (in 2147465528 ms)
D/WtProcessController: onAMPauseActivity callback
I/art: Note: end time exceeds epoch: 
I/art: Note: end time exceeds epoch: 
D/WtProcessController: onAMRestartActivity callback
D/WtProcessController: set foreground process size 2 pid:10443pacakgeName:com.android.chrome
I/Timeline: Timeline: App_transition_ready time:74971012
D/ConnectivityService: listenForNetwork for Listen from uid/pid:10059/10443 for NetworkRequest [ id=49, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED] ]
I/cr_InstantAppsHandler: Not handling with Instant Apps
I/Timeline: Timeline: Activity_launch_request time:74971029
D/Babel: onCreate: Shutdown runnable posted in onCreate with a delay of 5000 ms.
W/AD-PLUGIN-AppInstallActivateManager: Two apps are same
I/ActivityManager: START u0 {act=android.intent.action.VIEW dat=https://www.google.com/... flg=0x800000 pkg=com.android.chrome cmp=com.android.chrome/org.chromium.chrome.browser.customtabs.CustomTabActivity (has extras)} from uid 10059 on display 0
I/Timeline: Timeline: App_transition_ready time:74971039
D/WtProcessController: onAMCreateActivity callback
D/ActivityTrigger: ActivityTrigger activityPauseTrigger 
D/PowerManagerService: acquireWakeLockInternal: lock=176192276, flags=0x1, tag="*launch*", ws=WorkSource{10059}, uid=1000, pid=1562
D/PowerManagerService: updateWakeLockSummaryLocked: mWakefulness=Awake, mWakeLockSummary=0x1
D/PowerManagerService: updateUserActivitySummaryLocked: mWakefulness=Awake, mUserActivitySummary=0x1, nextTimeout=2222436507 (in 2147465465 ms)
D/DisplayPowerController: requestPowerState: policy=BRIGHT, useProximitySensor=false, screenBrightness=102, screenAutoBrightnessAdjustment=0.96850395, brightnessSetByUser=true, useAutoBrightness=true, blockScreenOn=false, lowPowerMode=false, boostScreenBrightness=false, dozeScreenBrightness=-1, dozeScreenState=UNKNOWN, waitForNegativeProximity=false
D/PowerManagerService: updateDisplayPowerStateLocked: mDisplayReady=true, policy=3, mWakefulness=1, mWakeLockSummary=0x1, mUserActivitySummary=0x1, mBootCompleted=true, mScreenBrightnessBoostInProgress=false
D/WtProcessController: onAMPauseActivity callback
D/Babel: Idle: Shutdown runnable posted in release with a delay of 5000 ms.
D/ActivityThreadInjector: clearCachedDrawables.
D/wpa_supplicant: wlan0: Control interface command 'SIGNAL_POLL'
D/wpa_supplicant: CTRL-DEBUG: global_ctrl_sock-sendto: sock=11 sndbuf=229376 outq=0 send_len=48
D/WtProcessController: onAMRestartActivity callback
I/Timeline: Timeline: App_transition_ready time:74971054
D/WtProcessController: onAMDestroyActivity callback
D/PowerManagerService: releaseWakeLockInternal: lock=16046967 [hangouts_rtcs], flags=0x0
D/PowerManagerNotifier: onWakeLockReleased: flags=1, tag="hangouts_rtcs", packageName=com.google.android.talk, ownerUid=10087, ownerPid=10590, workSource=null
D/PowerManagerService: updateWakeLockSummaryLocked: mWakefulness=Awake, mWakeLockSummary=0x1
D/PowerManagerService: updateUserActivitySummaryLocked: mWakefulness=Awake, mUserActivitySummary=0x1, nextTimeout=2222436507 (in 2147465446 ms)
D/DisplayPowerController: requestPowerState: policy=BRIGHT, useProximitySensor=false, screenBrightness=102, screenAutoBrightnessAdjustment=0.96850395, brightnessSetByUser=true, useAutoBrightness=true, blockScreenOn=false, lowPowerMode=false, boostScreenBrightness=false, dozeScreenBrightness=-1, dozeScreenState=UNKNOWN, waitForNegativeProximity=false
D/PowerManagerService: updateDisplayPowerStateLocked: mDisplayReady=true, policy=3, mWakefulness=1, mWakeLockSummary=0x1, mUserActivitySummary=0x1, mBootCompleted=true, mScreenBrightnessBoostInProgress=false
D/Babel: Idle: Shutdown runnable posted in release with a delay of 5000 ms.
I/Babel_Conv: Conversation loader finished for Ugxb1fhtNlDEfBW1SlN4AaABAagBiKycDw, count# 1
V/BoostFramework: BoostFramework() : mPerf = com.qualcomm.qti.Performance@5d28c18
V/BoostFramework: BoostFramework() : mPerf = com.qualcomm.qti.Performance@3e52671
I/ActivityManager: Start proc 12361:com.android.chrome:sandboxed_process3/u0i10 for service com.android.chrome/org.chromium.content.app.SandboxedProcessService3
I/art: Late-enabling -Xcheck:jni
D/WtProcessController: onAMProcStart callback
W/cr_tabmodel: Starting to fetch tab list.
E/cr_tabmodel: State file does not exist.
W/Binder_8: type=1400 audit(0.0:477087): avc: denied { ioctl } for path="socket:[978012]" dev="sockfs" ino=978012 ioctlcmd=7704 scontext=u:r:system_server:s0 tcontext=u:r:system_server:s0 tclass=unix_stream_socket permissive=0
D/ActivityThreadInjector: clearCachedDrawables.
W/Binder_8: type=1400 audit(0.0:477088): avc: denied { ioctl } for path="socket:[978012]" dev="sockfs" ino=978012 ioctlcmd=7704 scontext=u:r:system_server:s0 tcontext=u:r:system_server:s0 tclass=unix_stream_socket permissive=0
I/Timeline: Timeline: App_transition_ready time:74971116
D/TidaProvider: TidaProvider()
I/art: Background partial concurrent mark sweep GC freed 10565(740KB) AllocSpace objects, 1(1600KB) LOS objects, 30% free, 36MB/52MB, paused 3.391ms total 139.710ms
I/Timeline: Timeline: App_transition_ready time:74971143
I/Timeline: Timeline: App_transition_ready time:74971145
W/System: ClassLoader referenced unknown path: /system/app/Chrome/lib/arm
I/Timeline: Timeline: App_transition_ready time:74971151
I/Timeline: Timeline: App_transition_ready time:74971154
W/dboxed_process3: type=1400 audit(0.0:477089): avc: denied { search } for name="tmp" dev="dm-1" ino=21 scontext=u:r:isolated_app:s0:c512,c768 tcontext=u:object_r:shell_data_file:s0 tclass=dir permissive=0
I/Timeline: Timeline: App_transition_ready time:74971166
I/cr_ChildProcessService: Creating new ChildProcessService pid=12361
I/ActivityManager: Displayed com.android.chrome/org.chromium.chrome.browser.customtabs.CustomTabActivity: +116ms (total +162ms)
V/PhoneStatusBarPolicy: updateManagedProfile mManagedProfileFocused: false mKeyguardVisible: false mCurrentUserId:0 mCurrentProfileId:0 mSecondSpaceStatusIconVisible: true showIcon:false

最佳答案

根据它显示的文档:

Android Instant Apps supports the latest Android devices from Android 6.0 (API level 23) through Android O, across more than 40 countries. We'll be rolling out to more devices and countries soon, including expanding support to Android 5.0 (API level 21) devices shortly.

因此请确保您所在的国家/地区受支持并且设备包含 Android 版本 6 或更高版本。(您可以在设备中检查)。如果设备是 Lollipop (Android 5.0)。该功能可能尚未添加,但电话显示设置。因此,请访问并与 Android 来源保持联系,以检查支持功能是否已添加到 Lollipop 设备!

关于android - 链接在某些设备上未作为即时应用程序打开,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46312382/

相关文章:

android - 如何从 php 页面查看 android 内置图库中的所有图像

android - 如何在 Deeplink 消息中添加自定义文本而不是 URL

java - Facebook Android 应用程序链接打开 Facebook 页面而不是 Play 商店

ios - 与 iOS 链接的 Facebook 应用程序

java - 当 recycleview 滚动父 Activity 按钮去禁用

android - 如何在我的应用程序中找到使用 findbugs 的依赖项? (findbugs冲突)

java - 复合 View 内按钮的 OnClick 监听器

ios - 如何进行延迟深度链接?

Android Navigation Url 深层链接返回上一个应用程序

android - 我应该在已安装的应用程序中与我的免安装应用程序一起实现应用程序链接吗?应用链接的正确实现方式是什么?