Instant App 未从 "Try Now" 按钮加载

Instant App not loading from "Try Now" button

我刚刚将我的即时应用程序 (IA) 发布到生产渠道,但遇到 "Try Now" 功能问题。该应用程序下载并尝试打开,但随后崩溃,日志中出现以下错误。 IA 的默认 URL 是 brant.app/oceanlife/instant 并在下载后导航到此 URL 正确加载 IA。

尽管“立即试用”的体验似乎很糟糕...

2019-05-03 11:49:15.896 1146-3755/? E/ActivityManager: applyOptionsLocked: Unknown animationType=0
2019-05-03 11:49:15.904 20657-20806/? E/libc: Access denied finding property "vendor.debug.egl.profiler"
2019-05-03 11:49:16.025 20657-20831/? E/libc: Access denied finding property "ro.vendor.graphics.memory"
2019-05-03 11:49:16.044 20657-20831/? E/libc: Access denied finding property "vendor.gralloc.enable_ahardware_buffer"
2019-05-03 11:49:17.250 24917-20500/? E/ctxmgr: [AppIntervalImpl]closeInterval: ongoing [CONTEXT service_id=47 ]
    com.android.volley.VolleyError: Unable to obtain auth token - is the device online?
        at eme.a(:com.google.android.gms@16091037@16.0.91 (100400-244116403):31)
        at eha.run(:com.google.android.gms@16091037@16.0.91 (100400-244116403):2)
        at egy.handleMessage(:com.google.android.gms@16091037@16.0.91 (100400-244116403):3)
        at rlu.run(:com.google.android.gms@16091037@16.0.91 (100400-244116403):8)
        at rmf.b(:com.google.android.gms@16091037@16.0.91 (100400-244116403):32)
        at rmf.run(:com.google.android.gms@16091037@16.0.91 (100400-244116403):18)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
        at rsc.run(Unknown Source:7)
        at java.lang.Thread.run(Thread.java:764)
2019-05-03 11:49:18.061 862-21776/? E/installd: Failed to delete /data/app/vmdl2072380660.tmp: No such file or directory
2019-05-03 11:49:18.188 20847-20847/? E/com.oceanlife: Not starting debugger since process cannot load the jdwp agent.
2019-05-03 11:49:18.290 20847-20863/? E/libc: Access denied finding property "vendor.debug.egl.profiler"
2019-05-03 11:49:18.358 1991-2008/? E/Icon: Unable to find pkg=com.oceanlife for icon Icon(typ=RESOURCE pkg=com.oceanlife id=0x7f070084)
    android.content.pm.PackageManager$NameNotFoundException: com.oceanlife
        at android.app.ApplicationPackageManager.getApplicationInfoAsUser(ApplicationPackageManager.java:395)
        at android.app.ApplicationPackageManager.getApplicationInfo(ApplicationPackageManager.java:377)
        at android.graphics.drawable.Icon.loadDrawableInner(Icon.java:345)
        at android.graphics.drawable.Icon.loadDrawable(Icon.java:313)
        at android.service.notification.NotificationListenerService.createLegacyIconExtras(NotificationListenerService.java:1172)
        at android.service.notification.NotificationListenerService.access0(NotificationListenerService.java:94)
        at android.service.notification.NotificationListenerService$NotificationListenerWrapper.onNotificationPosted(NotificationListenerService.java:1234)
        at android.service.notification.INotificationListener$Stub.onTransact(INotificationListener.java:72)
        at android.os.Binder.execTransact(Binder.java:731)
2019-05-03 11:49:18.358 12768-12780/? E/Icon: Unable to find pkg=com.oceanlife for icon Icon(typ=RESOURCE pkg=com.oceanlife id=0x7f070084)
    android.content.pm.PackageManager$NameNotFoundException: com.oceanlife
        at android.app.ApplicationPackageManager.getApplicationInfoAsUser(ApplicationPackageManager.java:395)
        at android.app.ApplicationPackageManager.getApplicationInfo(ApplicationPackageManager.java:377)
        at android.graphics.drawable.Icon.loadDrawableInner(Icon.java:345)
        at android.graphics.drawable.Icon.loadDrawable(Icon.java:313)
        at android.service.notification.NotificationListenerService.createLegacyIconExtras(NotificationListenerService.java:1172)
        at android.service.notification.NotificationListenerService.access0(NotificationListenerService.java:94)
        at android.service.notification.NotificationListenerService$NotificationListenerWrapper.onNotificationPosted(NotificationListenerService.java:1234)
        at android.service.notification.INotificationListener$Stub.onTransact(INotificationListener.java:72)
        at android.os.Binder.execTransact(Binder.java:731)
2019-05-03 11:49:18.359 13290-13309/? E/Icon: Unable to find pkg=com.oceanlife for icon Icon(typ=RESOURCE pkg=com.oceanlife id=0x7f070084)
    android.content.pm.PackageManager$NameNotFoundException: com.oceanlife
        at android.app.ApplicationPackageManager.getApplicationInfoAsUser(ApplicationPackageManager.java:395)
        at android.app.ApplicationPackageManager.getApplicationInfo(ApplicationPackageManager.java:377)
        at android.graphics.drawable.Icon.loadDrawableInner(Icon.java:345)
        at android.graphics.drawable.Icon.loadDrawable(Icon.java:313)
        at android.service.notification.NotificationListenerService.createLegacyIconExtras(NotificationListenerService.java:1172)
        at android.service.notification.NotificationListenerService.access0(NotificationListenerService.java:94)
        at android.service.notification.NotificationListenerService$NotificationListenerWrapper.onNotificationPosted(NotificationListenerService.java:1234)
        at android.service.notification.INotificationListener$Stub.onTransact(INotificationListener.java:72)
        at android.os.Binder.execTransact(Binder.java:731)
2019-05-03 11:49:18.360 28965-17990/? E/Icon: Unable to find pkg=com.oceanlife for icon Icon(typ=RESOURCE pkg=com.oceanlife id=0x7f070084)
    android.content.pm.PackageManager$NameNotFoundException: com.oceanlife
        at android.app.ApplicationPackageManager.getApplicationInfoAsUser(ApplicationPackageManager.java:395)
        at android.app.ApplicationPackageManager.getApplicationInfo(ApplicationPackageManager.java:377)
        at android.graphics.drawable.Icon.loadDrawableInner(Icon.java:345)
        at android.graphics.drawable.Icon.loadDrawable(Icon.java:313)
        at android.service.notification.NotificationListenerService.createLegacyIconExtras(NotificationListenerService.java:1172)
        at android.service.notification.NotificationListenerService.access0(NotificationListenerService.java:94)
        at android.service.notification.NotificationListenerService$NotificationListenerWrapper.onNotificationPosted(NotificationListenerService.java:1234)
        at android.service.notification.INotificationListener$Stub.onTransact(INotificationListener.java:72)
        at android.os.Binder.execTransact(Binder.java:731)

"Try Now" 不工作的原因是什么?

发布的堆栈跟踪是在应用程序外部发生的警告,不应在应用程序本身中引起问题。虽然应用程序没有崩溃,但它似乎正在自行完成。

Google Play 可能会添加一些查询参数,特别是对于免安装应用。您可能会得到一个额外的 referrer 查询参数,指示用户来自何处(与安装引荐来源网址相同的格式),您的解析可能不会从即时应用程序网址中获得。