Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/silverlight/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Nativescript NS6.5(Android)错误:无效的可见性值:[对象]。有效值包括:可见、隐藏、折叠_Nativescript - Fatal编程技术网

Nativescript NS6.5(Android)错误:无效的可见性值:[对象]。有效值包括:可见、隐藏、折叠

Nativescript NS6.5(Android)错误:无效的可见性值:[对象]。有效值包括:可见、隐藏、折叠,nativescript,Nativescript,我有一个NS 6.5应用程序,在部署到测试设备(模拟器或物理设备)时运行良好。如果我通过APK直接将应用程序安装到设备上,也可以正常工作。但是,当我将应用程序部署到PlayStore(内部测试)时,一些用户报告崩溃。我一直在试图确定为什么这会发生在某些设备上,而不是其他设备上。为了调试这个问题,我使用Sentry.io来记录崩溃。以下是记录的错误: java.lang.Exception:调用js方法onCreateView失败 错误:无效的可见性值:[对象]。有效值为:可见、隐藏、折叠。 位

我有一个NS 6.5应用程序,在部署到测试设备(模拟器或物理设备)时运行良好。如果我通过APK直接将应用程序安装到设备上,也可以正常工作。但是,当我将应用程序部署到PlayStore(内部测试)时,一些用户报告崩溃。我一直在试图确定为什么这会发生在某些设备上,而不是其他设备上。为了调试这个问题,我使用Sentry.io来记录崩溃。以下是记录的错误:

java.lang.Exception:调用js方法onCreateView失败
错误:无效的可见性值:[对象]。有效值为:可见、隐藏、折叠。
位于com.tns.Runtime.passExceptionToJsNative(Runtime.java)
位于com.tns.Runtime.passUncaughtExceptionToJs(Runtime.java:82)
位于com.tns.NativeScriptUncaughtExceptionHandler.uncaughtException(NativeScriptUncaughtExceptionHandler.java:34)
位于java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1073)
位于java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1068)
位于java.lang.Thread.dispatchUncaughtException(Thread.java:2187)
java.lang.Throwable:push.View(file:///data/data/com.awl.awlmobile/files/app/vendor.js:7522:23)
在苹果公司(file:///data/data/com.awl.awlmobile/files/app/vendor.js:10741:37)
在initNativeView(file:///data/data/com.awl.awlmobile/files/app/vendor.js:10668:9)
在push.ViewBase.onResumeNativeUpdates(file:///data/data/com.awl.awlmobile/files/app/vendor.js:17795:22)
在push.ViewBase上。\u ResumeNativeUpdate(file:///data/data/com.awl.awlmobile/files/app/vendor.js:17426:18)
在push.ViewBase.onload处(file:///data/data/com.awl.awlmobile/files/app/vendor.js:17380:14)
在push.View.onload时(file:///data/data/com.awl.awlmobile/files/app/vendor.js:7219:35)
在(file:///data/data/com.awl.awlmobile/files/app/vendor.js:17465:90)
在push.ViewBase.callFunctionWithSuper(file:///data/data/com.awl.awlmobile/files/app/vendor.js:17458:9)
在push.ViewBase.callLoaded处(file:///data/data/com.awl.awlmobile/files/app/vendor.js:17465:14)
在push.ViewBase.loadView(file:///data/data/com.awl.awlmobile/files/app/vendor.js:17604:18)
在(file:///data/data/com.awl.awlmobile/files/app/vendor.js:17382:19)
在push.LayoutBaseCommon.eachChildView(file:///data/data/com.awl.awlmobile/files/app/vendor.js:57079:26)
在push.ViewCommon.eachChild上(file:///data/data/com.awl.awlmobile/files/app/vendor.js:28467:14)
在push.ViewBase.onload处(file:///data/data/com.awl.awlmobile/files/app/vendor.js:17381:14)
在push.View.onload时(file:///data/data/com.awl.awlmobile/files/app/vendor.js:7219:35)
在(file:///data/data/com.awl.awlmobile/files/app/vendor.js:17465:90)
在push.ViewBase.callFunctionWithSuper(file:///data/data/com.awl.awlmobile/files/app/vendor.js:17458:9)
在push.ViewBase.callLoaded处(file:///data/data/com.awl.awlmobile/files/app/vendor.js:17465:14)
在push.ViewBase.loadView(file:///data/data/com.awl.awlmobile/files/app/vendor.js:17604:18)
在(file:///data/data/com.awl.awlmobile/files/app/vendor.js:17382:19)
在push.LayoutBaseCommon.eachChildView(file:///data/data/com.awl.awlmobile/files/app/vendor.js:57079:26)
在push.ViewCommon.eachChild上(file:///data/data/com.awl.awlmobile/files/app/vendor.js:28467:14)
在push.ViewBase.onload处(file:///data/data/com.awl.awlmobile/files/app/vendor.js:17381:14)
在push.View.onload时(file:///data/data/com.awl.awlmobile/files/app/vendor.js:7219:35)
在(file:///data/data/com.awl.awlmobile/files/app/vendor.js:17465:90)
在push.ViewBase.callFunctionWithSuper(file:///data/data/com.awl.awlmobile/files/app/vendor.js:17458:9)
在push.ViewBase.callLoaded处(file:///data/data/com.awl.awlmobile/files/app/vendor.js:17465:14)
在push.ViewBase.loadView(file:///data/data/com.awl.awlmobile/files/app/vendor.js:17604:18)
在(file:///data/data/com.awl.awlmobile/files/app/vendor.js:17382:19)
在push.ContentView.eachChildView(file:///data/data/com.awl.awlmobile/files/app/vendor.js:16936:13)
在push.ViewCommon.eachChild上(file:///data/data/com.awl.awlmobile/files/app/vendor.js:28467:14)
在push.ViewBase.onload处(file:///data/data/com.awl.awlmobile/files/app/vendor.js:17381:14)
在push.View.onload时(file:///data/data/com.awl.awlmobile/files/app/vendor.js:7219:35)
在push.ScrollViewBase.onLoaded时(file:///data/data/com.awl.awlmobile/files/app/vendor.js:59666:35)
在(file:///data/data/com.awl.awlmobile/files/app/vendor.js:17465:90)
在push.ViewBase.callFunctionWithSuper(file:///data/data/com.awl.awlmobile/files/app/vendor.js:17458:9)
在push.ViewBase.callLoaded处(file:///data/data/com.awl.awlmobile/files/app/vendor.js:17465:14)
在push.ViewBase.loadView(file:///data/data/com.awl.awlmobile/files/app/vendor.js:17604:18)
在(file:///data/data/com.awl.awlmobile/files/app/vendor.js:17382:19)
在push.ContentView.eachChildView(file:///data/data/com.awl.awlmobile/files/app/vendor.js:16936:13)
在push.PageBase.eachChildView(file:///data/data/com.awl.awlmobile/files/app/vendor.js:59121:40)
在push.ViewCommon.eachChild上(file:///data/data/com.awl.awlmobile/files/app/vendor.js:28467:14)
在push.ViewBase.onload处(file:///data/data/com.awl.awlmobile/files/app/vendor.js:17381:14)
在push.View.onload时(file:///data/data/com.awl.awlmobile/files/app/vendor.js:7219:35)
在push.Page.onload时(file:///data/data/com.awl.awlmobile/files/app/vendor.js:15590:35)
在(file:///data/data/com.awl.awlmobile/files/app/vendor.js:17465:90)
在push.ViewBase.callFunctionWithSuper(file:///data/data/com.awl.awlmobile/files/app/vendor.js:17458:9)
在push.ViewBase.callLoaded处(file:///data/data/com.awl.awlmobile/files/app/vendor.js:17465:14)
在push.ViewBase.loadView(file:///data/data/com.awl.awlmobile/files/app/vendor.js:17604:18)
在push.ViewBase.\u添加ViewCore(file:///data/data/com.awl.awlmobile/files/app/vendor.js:17599:18)