简体   繁体   English

合金 , nl.fokkezb.loading 在显示功能上出错。 我需要升级一些旧的 apk,当我重建旧代码时遇到这个问题

[英]Alloy , nl.fokkezb.loading giving error on show function. I need to upgrade some old apk, when I rebuild the old code getting this issue

My current Ti SDK is 9.2.0.GA, and ti cli is 5.2.5.我现在的Ti SDK是9.2.0.GA,ti cli是5.2.5。 I need to upgrade an old application that was built with 3.2.0.GA.我需要升级一个用 3.2.0.GA 构建的旧应用程序。 I changed the tiapp.xml file and updated the SDK version to 9.2.0.GA.我更改了 tiapp.xml 文件并将 SDK 版本更新为 9.2.0.GA。 Then I am getting this error.然后我收到这个错误。 Please help me to resolve the issue.请帮我解决这个问题。

[ERROR] TiExceptionHandler: (main) [1736,2805] /alloy/widgets/nl.fokkezb.loading/controllers/window.js:151
[ERROR] TiExceptionHandler: $.loadingIndicator.show();
[ERROR] TiExceptionHandler:                    ^
[ERROR] TiExceptionHandler: Error: Unable to convert null
[ERROR] TiExceptionHandler:     at Controller.open (/alloy/widgets/nl.fokkezb.loading/controllers/window.js:151:20)
[ERROR] TiExceptionHandler:     at Controller.show (/alloy/widgets/nl.fokkezb.loading/controllers/widget.js:67:9)

I solved the error by installing gitTio globally and then Installing missing (versions of) modules and widgets required in tiapp.xml.我通过全局安装 gitTio 然后安装 tiapp.xml 中所需的模块和小部件的缺失(版本)解决了该错误。

//Install gittio globaly
[sudo] npm install -g gittio 
//navigate to project directory and run this command
~/myproject $ gittio install -g

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM