无法调用determinedVisibility(),从未看到PID的连接。

8
我们最近将移动应用从Worklight 5.0.6更新到MobileFirst 7.0。在更新之前,由于Cordova在JSON Store方面存在问题,我们不支持4.4以上的Android版本。现在,我们支持更新后的Android版本。
该应用在所有iOS设备和Android 4.x设备上运行良好。在Android 5及以上版本中,当点击登录按钮时会出现白屏问题。
$("#loginButton").on("click", function(e) {
    e.preventDefault();

    $('#realmPopupMenu').popup("open");
});

在 Android 日志中,我看到了这个错误:
06-18 07:34:57.329: W/AmazonAppstore.AppManagerAndroidPackageDelegate(2325): Unable to determine asin for package com.MyGPCMobile.  Skipping metadata update.
06-18 07:34:58.709: W/AmazonAppstore.AppManagerAndroidPackageDelegate(2325): Unable to determine asin for package com.MyGPCMobile.  Skipping metadata update.
06-18 07:35:02.129: W/BindingManager(2501): Cannot call determinedVisibility() - never saw a connection for the pid: 2501
06-18 07:35:02.529: W/BindingManager(2501): Cannot call determinedVisibility() - never saw a connection for the pid: 2501
06-18 07:35:03.469: W/BindingManager(2501): Cannot call determinedVisibility() - never saw a connection for the pid: 2501
06-18 07:35:10.879: W/BindingManager(2501): Cannot call determinedVisibility() - never saw a connection for the pid: 2501
06-18 07:35:11.769: W/BindingManager(2501): Cannot call determinedVisibility() - never saw a connection for the pid: 2501
06-18 07:35:30.579: D/DMCFaceEngine(919): caSmartDP_DetermineFixedDevice : TmpFile exists /data/smart_stay_hash.dmc 
06-18 07:35:30.579: D/DMCFaceEngine(919): caSmartDP_DetermineFixedDevice : FIXED OR NOT  : difference 300.376667
06-18 07:35:30.579: D/DMCFaceEngine(919): caSmartDP_DetermineFixedDevice : TmpFile making start /data/smart_stay_hash.dmc 
06-18 07:35:30.589: D/DMCFaceEngine(919): caSmartDP_DetermineFixedDevice : TmpFile making end /data/smart_stay_hash.dmc 
06-18 07:35:30.589: D/DMCFaceEngine(919): caSmartDP_SmartStay : [5.000000] determine[300] result [-1]
06-18 07:35:35.919: W/BindingManager(2501): Cannot call determinedVisibility() - never saw a connection for the pid: 2501
06-18 07:35:35.929: W/BindingManager(2501): Cannot call determinedVisibility() - never saw a connection for the pid: 2501
06-18 07:35:38.739: W/BindingManager(2501): Cannot call determinedVisibility() - never saw a connection for the pid: 2501
06-18 07:35:39.689: W/BindingManager(2501): Cannot call determinedVisibility() - never saw a connection for the pid: 2501
06-18 07:35:39.699: W/BindingManager(2501): Cannot call determinedVisibility() - never saw a connection for the pid: 2501

在 Android 5 及以上版本中,导致这个错误的原因是什么?

Idan,已经向您发送了项目的Dropbox链接。 - Julie Beck
Idan,我上面粘贴的是Eclipse中LogCat选项卡的全部内容,从我在手机上运行应用程序到出现白屏的时间。你还需要我提供其他信息吗? - Julie Beck
在 Nexus 5 和 Samsung Galaxy S6 上测试了应用程序,两者均运行 Android 5.x;没有遇到所报告的行为问题... - Idan Adar
Strider,不,我还没有。我现在正在更新JQuery,看看是否解决了这个问题。我已经进一步缩小了范围,发现是一个mobile.changepage函数,我已经更新为mobile.navigate。但我仍然得到白屏。 - Julie Beck
升级到JQuery 1.4.5,问题已解决。 - Julie Beck
显示剩余4条评论
1个回答

4

已升级至Jquery Mobile 1.4.5,这解决了白屏问题。问题出在Jquery弹出对话框和mobile.changepage & mobile.navigate上。将Jquery Mobile版本更新至1.4.5即可解决。


1
所以猜测是正确的。很棒。很高兴它得到了解决。 :) - Idan Adar
感谢您的所有帮助,Idan! - Julie Beck

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接