- c - 在位数组中找到第一个零
- linux - Unix 显示有关匹配两种模式之一的文件的信息
- 正则表达式替换多个文件
- linux - 隐藏来自 xtrace 的命令
我正在尝试使用 Liveview 支持运行我的 Alloy 项目。但它不起作用并给我以下错误。
Appcelerator Command-Line Interface, version 5.2.2
Copyright (c) 2014-2016, Appcelerator, Inc. All Rights Reserved.
2016-05-30T06:19:24.631Z | TRACE | set environment to {"registry":"https://software.appcelerator.com","security":"https://security.appcelerator.com","baseurl":"https://platform.appcelerator.com"}
2016-05-30T06:19:24.633Z | TRACE | checking credentials for existing session
2016-05-30T06:19:24.925Z | TRACE | Attempting to load session info from config file
2016-05-30T06:19:24.931Z | TRACE | check if session is invalidated
2016-05-30T06:19:26.722Z | TRACE | session expiry 1464594671175 false
2016-05-30T06:19:26.723Z | TRACE | Arrow Cloud config file: C:\Users\ADMIN\.acs
2016-05-30T06:19:26.725Z | TRACE | found Arrow Cloud login { mid: '614b7d25d4fea15bd60f62091ceedfb56eda8e6f',
publishPort: 443,
publishHost: 'https://admin.cloudapp-enterprise.appcelerator.com',
username: 'electronic321@gmail.com',
cookie: [ 'connect.sid=s%3AXj8EhIXRjnTaC9UnEOUrAz6F.SwVoCz55LSN4vYQ%2Fog533Cv5KixIWgw5JHK6cEeMens; Path=/; Expires=Mon, 06 Jun 2016 07:51:17 GMT; HttpOnly' ],
defaultEP:
{ publishHost: 'https://admin.cloudapp-enterprise.appcelerator.com',
publishPort: 443 } } , checking nodeACSEndpoint= https://admin.cloudapp-enterprise.appcelerator.com
2016-05-30T06:19:26.727Z | TRACE | Arrow Cloud cookie expiry [ 1465199477000 ]
2016-05-30T06:19:26.727Z | TRACE | session already loaded in opts.session
2016-05-30T06:19:26.729Z | TRACE | getCredentials() session:
{
"ipaddress": "192.168.100.13",
"username": "electronic321@gmail.com",
"password": "<OMITTED>",
"session": "<OMITTED>",
"nonce": "<OMITTED>",
"environment": {
"name": "production",
"isProduction": true,
"acsBaseUrl": "https://api.cloud.appcelerator.com",
"acsAuthBaseUrl": "https://secure-identity.cloud.appcelerator.com",
"nodeACSEndpoint": "https://admin.cloudapp-enterprise.appcelerator.com"
},
"token": "<OMITTED>",
"fingerprint": "614b7d25d4fea15bd60f62091ceedfb56eda8e6f",
"fingerprint_description": "Windows Machine ID: 51c8ede0-459f-428a-a13d-18a42f4ce1d5",
"org_id": 100113556,
"expiry": 1464594671175
}
2016-05-30T06:19:26.730Z | TRACE | loading plugins for command "run"
2016-05-30T06:19:26.788Z | TRACE | run search paths:
[
"C:\\Users\\ADMIN\\.appcelerator\\install\\5.2.2\\package",
"C:\\Users\\ADMIN\\.appcelerator\\install\\5.2.2\\package\\node_modules",
"C:\\Users\\ADMIN\\Desktop\\node_modules",
"C:\\Users\\ADMIN\\node_modules",
"C:\\Users\\node_modules",
"C:\\node_modules",
"C:\\Users\\ADMIN\\.appcelerator\\.npm\\lib\\node_modules"
]
2016-05-30T06:19:26.789Z | DEBUG | [PLUGIN-LOAD] 0ms C:\Users\ADMIN\.appcelerator\install\5.2.2\package\appc.js
2016-05-30T06:19:26.911Z | DEBUG | [PLUGIN-LOAD] 120ms C:\Users\ADMIN\.appcelerator\install\5.2.2\package\node_modules\appc-cli-titanium\appc.js
2016-05-30T06:19:26.911Z | DEBUG | run plugin: C:\Users\ADMIN\.appcelerator\install\5.2.2\package\node_modules\appc-cli-titanium
2016-05-30T06:19:26.913Z | DEBUG | [PLUGIN-LOAD] 1ms C:\Users\ADMIN\.appcelerator\install\5.2.2\package\node_modules\arrow\appc.js
2016-05-30T06:19:26.917Z | DEBUG | run plugin: C:\Users\ADMIN\.appcelerator\install\5.2.2\package\node_modules\arrow
2016-05-30T06:19:26.922Z | TRACE | plugin "arrow" failed its "when" function check, skipping...
2016-05-30T06:19:26.923Z | TRACE | loading plugin "titanium" for command "run" CLI options via function
2016-05-30T06:19:26.924Z | TRACE | loading plugin "titanium" for command "run" CLI options via array
2016-05-30T06:19:26.927Z | TRACE | executing command "run" with the following plugins:
["titanium"]
2016-05-30T06:19:26.930Z | TRACE | Attempting to load session info from config file
2016-05-30T06:19:26.933Z | TRACE | check if session is invalidated
2016-05-30T06:19:28.336Z | TRACE | session expiry 1464594671175 false
2016-05-30T06:19:28.337Z | TRACE | session already loaded in opts.session
2016-05-30T06:19:28.339Z | DEBUG | Titanium Downloads Last Checked: 1464583283819
5/30/2016, 11:19:36 AM
Operating System
Name = Microsoft Windows 10 Pro
Version = 10.0.10586
Architecture = 32bit
# CPUs = 8
Memory = 17070088192
Node.js
Node.js Version = 0.12.10
npm Version = 2.14.9
Titanium CLI
CLI Version = 5.0.6
Titanium SDK
SDK Version = 5.2.2.GA
SDK Path = C:\ProgramData\Titanium\mobilesdk\win32\5.2.2.GA
Target Platform = android
Command
C:\Program Files (x86)\nodejs\node.exe C:\Users\ADMIN\.appcelerator\install\5.2.2\package\node_modules\titanium\lib\titanium.js build run --platform android --log-level trace --sdk 5.2.2.GA --project-dir C:\Users\ADMIN\Documents\Appcelerator_Studio_Workspace\Thriggle --target device --android-sdk C:\Users\ADMIN\AppData\Local\Android\sdk --device-id AVY9KA9631828821 --liveview --deploy-type development --no-colors --no-progress-bars --no-prompt --prompt-type socket-bundle --prompt-port 3723 --config-file C:\Users\ADMIN\AppData\Local\Temp\build-1464589168337.json --no-banner --project-dir C:\Users\ADMIN\Documents\Appcelerator_Studio_Workspace\Thriggle
[ERROR] : GED: Failed to get GED Log Buf, err(0)
[ERROR] : NativeCrypto: ssl=0xeec40600 cert_verify_callback x509_store_ctx=0xdddff3c0 arg=0x0
[ERROR] : NativeCrypto: ssl=0xeec40600 cert_verify_callback calling verifyCertificateChain authMethod=ECDHE_RSA
[ERROR] : TiExceptionHandler: (main) [3864,9999] ----- Titanium Javascript Runtime Error -----
[ERROR] : TiExceptionHandler: (main) [0,9999] - In app.js:567,13
[ERROR] : TiExceptionHandler: (main) [0,9999] - Message: Uncaught Error: [LiveView] File Server unavailable. Host Unreachable @ 192.168.100.13:8324
[ERROR] : TiExceptionHandler: [LiveView] Please ensure your device and computer are on the same network and the port is not blocked.
[ERROR] : TiExceptionHandler: (main) [0,9999] - Source: throw new Error('[LiveView] File Server unavailable. Host Unreachable @
[ERROR] : V8Exception: Exception occurred at app.js:567: Uncaught Error: [LiveView] File Server unavailable. Host Unreachable @ 192.168.100.13:8324
[ERROR] : V8Exception: [LiveView] Please ensure your device and computer are on the same network and the port is not blocked.
另一方面,如果我创建一个新的 Classic 项目,它可以与 LiveView 一起正常运行。
以前,我的笔记本电脑(Window 操作系统)上有 Genymotion,由于模拟器和笔记本电脑上的 IP 地址不同,Liveview 根本无法工作。这是有道理的(我猜)。我已经卸载了 Genymotion,现在我遇到了另一个问题。我的网络地址也是 192.168.100.1。我也使用 Java 32 位和 64 位对其进行了检查,但同样的问题仍然存在。
我花了将近 2 周的时间,但还是想不通。我对 Appcelerator 和 Node js 比较陌生,有人可以指导我完成这个。
已编辑:
Appcelerator Command-Line Interface, version 5.2.2
Copyright (c) 2014-2016, Appcelerator, Inc. All Rights Reserved.
2016-06-01T09:39:39.739Z | TRACE | set environment to {"registry":"https://software.appcelerator.com","security":"https://security.appcelerator.com","baseurl":"https://platform.appcelerator.com"}
2016-06-01T09:39:39.741Z | TRACE | checking credentials for existing session
2016-06-01T09:39:40.038Z | TRACE | Attempting to load session info from config file
2016-06-01T09:39:40.044Z | TRACE | check if session is invalidated
2016-06-01T09:39:41.812Z | TRACE | session expiry 1465199772201 false
2016-06-01T09:39:41.818Z | TRACE | Arrow Cloud config file: C:\Users\ADMIN\.acs
2016-06-01T09:39:41.819Z | TRACE | found Arrow Cloud login { mid: '614b7d25d4fea15bd60f62091ceedfb56eda8e6f',
publishPort: 443,
publishHost: 'https://admin.cloudapp-enterprise.appcelerator.com',
username: 'electronic321@gmail.com',
cookie: [ 'connect.sid=s%3A47blMNQoUpjUFG076uF%2BpTlm.vcgLNB32OzNUsTt4SaysHhBMmGRPNl2ffpm75hHvWec; Path=/; Expires=Mon, 13 Jun 2016 07:56:20 GMT; HttpOnly' ],
defaultEP:
{ publishHost: 'https://admin.cloudapp-enterprise.appcelerator.com',
publishPort: 443 } } , checking nodeACSEndpoint= https://admin.cloudapp-enterprise.appcelerator.com
2016-06-01T09:39:41.819Z | TRACE | Arrow Cloud cookie expiry [ 1465804580000 ]
2016-06-01T09:39:41.819Z | TRACE | session already loaded in opts.session
2016-06-01T09:39:41.819Z | TRACE | getCredentials() session:
{
"ipaddress": "192.168.100.13",
"username": "electronic321@gmail.com",
"password": "<OMITTED>",
"session": "<OMITTED>",
"nonce": "<OMITTED>",
"environment": {
"name": "production",
"isProduction": true,
"acsBaseUrl": "https://api.cloud.appcelerator.com",
"acsAuthBaseUrl": "https://secure-identity.cloud.appcelerator.com",
"nodeACSEndpoint": "https://admin.cloudapp-enterprise.appcelerator.com"
},
"token": "<OMITTED>",
"fingerprint": "614b7d25d4fea15bd60f62091ceedfb56eda8e6f",
"fingerprint_description": "Windows Machine ID: 51c8ede0-459f-428a-a13d-18a42f4ce1d5",
"org_id": 100113556,
"expiry": 1465199772201
}
2016-06-01T09:39:41.819Z | TRACE | loading plugins for command "run"
2016-06-01T09:39:41.865Z | TRACE | run search paths:
[
"C:\\Users\\ADMIN\\.appcelerator\\install\\5.2.2\\package",
"C:\\Users\\ADMIN\\.appcelerator\\install\\5.2.2\\package\\node_modules",
"C:\\Users\\ADMIN\\Desktop\\node_modules",
"C:\\Users\\ADMIN\\node_modules",
"C:\\Users\\node_modules",
"C:\\node_modules",
"C:\\Users\\ADMIN\\.appcelerator\\.npm\\lib\\node_modules"
]
2016-06-01T09:39:41.865Z | DEBUG | [PLUGIN-LOAD] 0ms C:\Users\ADMIN\.appcelerator\install\5.2.2\package\appc.js
2016-06-01T09:39:41.996Z | DEBUG | [PLUGIN-LOAD] 116ms C:\Users\ADMIN\.appcelerator\install\5.2.2\package\node_modules\appc-cli-titanium\appc.js
2016-06-01T09:39:41.996Z | DEBUG | run plugin: C:\Users\ADMIN\.appcelerator\install\5.2.2\package\node_modules\appc-cli-titanium
2016-06-01T09:39:41.996Z | DEBUG | [PLUGIN-LOAD] 0ms C:\Users\ADMIN\.appcelerator\install\5.2.2\package\node_modules\arrow\appc.js
2016-06-01T09:39:41.996Z | DEBUG | run plugin: C:\Users\ADMIN\.appcelerator\install\5.2.2\package\node_modules\arrow
2016-06-01T09:39:42.012Z | TRACE | plugin "arrow" failed its "when" function check, skipping...
2016-06-01T09:39:42.012Z | TRACE | loading plugin "titanium" for command "run" CLI options via function
2016-06-01T09:39:42.012Z | TRACE | loading plugin "titanium" for command "run" CLI options via array
2016-06-01T09:39:42.012Z | TRACE | executing command "run" with the following plugins:
["titanium"]
2016-06-01T09:39:42.012Z | TRACE | Attempting to load session info from config file
2016-06-01T09:39:42.012Z | TRACE | check if session is invalidated
2016-06-01T09:39:43.734Z | TRACE | session expiry 1465199772201 false
2016-06-01T09:39:43.742Z | TRACE | session already loaded in opts.session
2016-06-01T09:39:43.743Z | DEBUG | Titanium Downloads Last Checked: 1464756295656
6/1/2016, 2:39:50 PM
Operating System
Name = Microsoft Windows 10 Pro
Version = 10.0.10586
Architecture = 32bit
# CPUs = 8
Memory = 17070088192
Node.js
Node.js Version = 0.12.14
npm Version = 2.15.1
Titanium CLI
CLI Version = 5.0.6
Titanium SDK
SDK Version = 5.2.2.GA
SDK Path = C:\ProgramData\Titanium\mobilesdk\win32\5.2.2.GA
Target Platform = android
Command
C:\Program Files (x86)\nodejs\node.exe C:\Users\ADMIN\.appcelerator\install\5.2.2\package\node_modules\titanium\lib\titanium.js build run --platform android --log-level trace --sdk 5.2.2.GA --project-dir C:\Users\ADMIN\Documents\Appcelerator_Studio_Workspace\Thriggle --target device --android-sdk C:\Users\ADMIN\AppData\Local\Android\sdk --device-id AVY9KA9631828821 --liveview --deploy-type development --no-colors --no-progress-bars --no-prompt --prompt-type socket-bundle --prompt-port 4890 --config-file C:\Users\ADMIN\AppData\Local\Temp\build-1464773983743.json --no-banner --project-dir C:\Users\ADMIN\Documents\Appcelerator_Studio_Workspace\Thriggle
[INFO] : Writing build manifest: C:\Users\ADMIN\Documents\Appcelerator_Studio_Workspace\Thriggle\build\android\build-manifest.json
[INFO] : Making sure the adb server is running
[INFO] : Installing apk: C:\Users\ADMIN\Documents\Appcelerator_Studio_Workspace\Thriggle\build\android\bin\Thriggle.apk
[INFO] : Installing app on device: HUAWEI TIT-AL00
[LiveView] version 1.0.8
[LiveView] File Server Started on Port 8324
[LiveView] Alloy project monitor started
[LiveView] Event Server Started on Port 8323
[INFO] : App successfully installed
[INFO] : Starting app: com.qi.Thriggle/.ThriggleActivity
[DEBUG] : Trying to start the app...
[INFO] : Application pid: 4456
-- Start application log -----------------------------------------------------
[DEBUG] : OpenSSLLib: OpensslErr:Module:13(114:155); file:external/openssl/crypto/asn1/asn1_lib.c ;Line:145;Function:ASN1_get_object
[INFO] : Project built successfully in 56s 440ms
[WARN] : V8Object: (KrollRuntimeThread) [165,367] Runtime disposed, cannot set property 'userAgent'
[DEBUG] : D/libc-netbsd: [getaddrinfo]: hostname=192.168.100.13; servname=(null); cache_mode=(null), netid=0; mark=0
[DEBUG] : D/libc-netbsd: [getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=4; ai_family=0
[DEBUG] : D/libc-netbsd: [getaddrinfo]: hostname=192.168.100.13; servname=(null); cache_mode=(null), netid=0; mark=0
[DEBUG] : D/libc-netbsd: [getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=4; ai_family=0
[DEBUG] : D/libc-netbsd: [getaddrinfo]: hostname=192.168.100.13; servname=(null); cache_mode=(null), netid=0; mark=0
[DEBUG] : D/libc-netbsd: [getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=4; ai_family=0
[DEBUG] : Posix: [Posix_connect Debug]Process com.qi.Thriggle :8324
[LiveView] { [Error: ENOENT, open 'C:\Users\ADMIN\Documents\Appcelerator_Studio_Workspace\Thriggle\i18n\alloy_generated\strings.xml']
errno: -4058,
code: 'ENOENT',
path: 'C:\\Users\\ADMIN\\Documents\\Appcelerator_Studio_Workspace\\Thriggle\\i18n\\alloy_generated\\strings.xml' }
[ERROR] : TiExceptionHandler: (main) [10292,10292] ----- Titanium Javascript Runtime Error -----
[ERROR] : TiExceptionHandler: (main) [0,10292] - In app.js:567,13
[ERROR] : TiExceptionHandler: (main) [0,10292] - Message: Uncaught Error: [LiveView] File Server unavailable. Host Unreachable @ 192.168.100.13:8324
[ERROR] : TiExceptionHandler: [LiveView] Please ensure your device and computer are on the same network and the port is not blocked.
[ERROR] : TiExceptionHandler: (main) [0,10292] - Source: throw new Error('[LiveView] File Server unavailable. Host Unreachable @
[ERROR] : V8Exception: Exception occurred at app.js:567: Uncaught Error: [LiveView] File Server unavailable. Host Unreachable @ 192.168.100.13:8324
[ERROR] : V8Exception: [LiveView] Please ensure your device and computer are on the same network and the port is not blocked.
[ERROR] : GED: Failed to get GED Log Buf, err(0)
这是可能有用的相关详细信息。
最佳答案
想通了!
在我的工作室,我无法更新它......所以我们需要做的是安装最新版本的 Appcelerator Studio,构建:4.5.0.201602170821(当前)并且实时取景效果很好:D
关于android - Liveview 在 Appcelerator Studio 的合金项目中不起作用(在经典项目中工作正常),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37518921/
我在Windows 10中使用一些简单的Powershell代码遇到了这个奇怪的问题,我认为这可能是我做错了,但我不是Powershell的天才。 我有这个: $ix = [System.Net.Dn
var urlsearch = "http://192.168.10.113:8080/collective-intellegence/StoreClicks?userid=" + userId +
我有一个非常奇怪的问题,过去两天一直让我抓狂。 我有一个我试图控制的串行设备(LS 100 光度计)。使用设置了正确参数的终端(白蚁),我可以发送命令(“MES”),然后是定界符(CR LF),然后我
我目前正试图让无需注册的 COM 使用 Excel 作为客户端,使用 .NET dll 作为服务器。目前,我只是试图让概念验证工作,但遇到了麻烦。 显然,当我使用 Excel 时,我不能简单地使用与可
我开发了简单的 REST API - https://github.com/pavelpetrcz/MandaysFigu - 我的问题是在本地主机上,WildFly 16 服务器的应用程序运行正常。
我遇到了奇怪的情况 - 从 Django shell 创建一些 Mongoengine 对象是成功的,但是从 Django View 创建相同的对象看起来成功,但 MongoDB 中没有出现任何数据。
我是 flask 的新手,只编写了一个相当简单的网络应用程序——没有数据库,只是一个航类搜索 API 的前端。一切正常,但为了提高我的技能,我正在尝试使用应用程序工厂和蓝图重构我的代码。让它与 pus
我的谷歌分析 JavaScript 事件在开发者控制台中运行得很好。 但是当从外部 js 文件包含在页面上时,它们根本不起作用。由于某种原因。 例如; 下面的内容将在包含在控制台中时运行。但当包含在单
这是一本名为“Node.js 8 the Right Way”的书中的任务。你可以在下面看到它: 这是我的解决方案: 'use strict'; const zmq = require('zeromq
我正在阅读文本行,并创建其独特单词的列表(在将它们小写之后)。我可以使它与 flatMap 一起工作,但不能使它与 map 的“子”流一起工作。 flatMap 看起来更简洁和“更好”,但为什么 di
我正在编写一些 PowerShell 脚本来进行一些构建自动化。我发现 here echo $? 根据前面的语句返回真或假。我刚刚发现 echo 是 Write-Output 的别名。 写主机 $?
关闭。这个问题不满足Stack Overflow guidelines .它目前不接受答案。 想改善这个问题吗?更新问题,使其成为 on-topic对于堆栈溢出。 4年前关闭。 Improve thi
我将一个工作 View Controller 类从另一个项目复制到一个新项目中。我无法在新项目中加载 View 。在旧项目中我使用了presentModalViewController。在新版本中,我
我对 javascript 很陌生,所以很难看出我哪里出错了。由于某种原因,我的功能无法正常工作。任何帮助,将不胜感激。我尝试在外部 js 文件、头部/主体中使用它们,但似乎没有任何效果。错误要么出在
我正在尝试学习Flutter中的复选框。 问题是,当我想在Scaffold(body :)中使用复选框时,它正在工作。但我想在不同的地方使用它,例如ListView中的项目。 return Cente
我们当前使用的是 sleuth 2.2.3.RELEASE,我们看不到在 http header 中传递的 userId 字段没有传播。下面是我们的代码。 BaggageField REQUEST_I
我有一个组合框,其中包含一个项目,比如“a”。我想调用该组合框的 Action 监听器,仅在手动选择项目“a”完成时才调用。我也尝试过 ItemStateChanged,但它的工作原理与 Action
你能看一下照片吗?现在,一步前我执行了 this.interrupt()。您可以看到 this.isInterrupted() 为 false。我仔细观察——“这个”没有改变。它具有相同的 ID (1
我们当前使用的是 sleuth 2.2.3.RELEASE,我们看不到在 http header 中传递的 userId 字段没有传播。下面是我们的代码。 BaggageField REQUEST_I
我正在尝试在我的网站上设置一个联系表单,当有人点击发送时,就会运行一个作业,并在该作业中向所有管理员用户发送通知。不过,我在失败的工作表中不断收到此错误: Illuminate\Database\El
我是一名优秀的程序员,十分优秀!