【问题标题】:Titanium Javascript Runtime ErrorTitanium Javascript 运行时错误
【发布时间】:2016-10-29 20:09:20
【问题描述】:
[INFO]  Encrypting JavaScript files: C:\ProgramData\Titanium\mobilesdk\win32\5.5.1.GA ...
2016-10-29T17:37:39.849Z | ERROR  | An uncaught exception was thrown!
Cannot read property 'proxyAttrs' of undefined
2016-10-29T17:37:39.864Z | ERROR  | Cannot read property 'proxyAttrs' of undefined

尝试在 Win 10 上通过 Appcelerator Studio 构建一个 android 应用程序。它在尝试加密 JS 文件后停止构建。当尝试通过 Appcelerator Studio 将其构建到真实设备时 - 它不会记录错误,而只是停止构建。尝试通过 Titanium CLI 构建到 android 模拟器后能够看到错误消息。

更新:

通过停用 google.analytics 功能并删除 google.analytics 模块,设法消除了此错误。

现在虽然我遇到了另一个错误。它说错误在我什至没有创建的文件中,并且在我的项目文件夹中找不到它。

[ERROR] TiViewProxy: Invalid value, expected type Object.
[ERROR] D/[BNRAppListMgrReceiver]( 5902): android.intent.action.PACKAGE_ADDED : nl.nle.annainzicht
[ERROR] TiExceptionHandler: (main) [803,803] ----- Titanium Javascript Runtime Error -----
[ERROR] TiExceptionHandler: (main) [0,803] - In ti:/view.js:22,8
[ERROR] TiExceptionHandler: (main) [0,803] - Message: Uncaught Error: Invalid value, expected type Object.
[ERROR] TiExceptionHandler: (main) [0,803] - Source:            _add.call(this, child);

我的系统设置是:

Operating System
  Name                        = Microsoft Windows 10 Pro
  Version                     = 10.0.14393
  Architecture                = 64bit
  # CPUs                      = 4
  Memory                      = 7.9GB

Node.js
  Node.js Version             = 4.4.7
  npm Version                 = 2.15.8

Titanium CLI
  CLI Version                 = 5.0.10
  node-appc Version           = 0.2.31

Titanium SDKs
  5.5.1.GA
    Version                   = 5.5.1
    Install Location          = C:\ProgramData\Titanium\mobilesdk\win32\5.5.1.GA
    Platforms                 = android, mobileweb, windows
    git Hash                  = b18727f
    git Timestamp             = 09/27/16 05:38
    node-appc Version         = 0.2.36

【问题讨论】:

    标签: android titanium appcelerator-mobile


    【解决方案1】:

    您可能正在调用一个不返回任何内容的函数 但该视图期望添加一些内容。 我自己也遇到了麻烦

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2012-04-03
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-02-17
      • 1970-01-01
      相关资源
      最近更新 更多