我刚刚将我的Instant App(IA)发布到了生产渠道,但是遇到了“立即尝试”功能的问题。该应用程序下载并尝试打开,但随后崩溃,日志中显示以下错误。 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.access$100(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.access$100(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.access$100(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.access$100(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)
“立即尝试”不起作用的原因可能是什么?
答案 0 :(得分:1)
发布的堆栈跟踪是在应用程序外部发生的警告,不应在应用程序本身中引起问题。该应用程序没有崩溃时,似乎只是在完成本身。
Google Play可能会添加一些查询参数,尤其是对于即时应用程序。您可能会获得一个额外的referrer
查询参数,该参数指示用户来自何处(与安装引荐来源网址格式相同),而解析可能无法从即时应用URL中获得。