[AC-3877] Cannot run examples in Appcelerator Studio
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Needs more info |
Resolution Date | 2016-06-22T20:00:30.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | Carlo Milanesi |
Assignee | Shak Hossain |
Created | 2016-06-17T14:29:13.000+0000 |
Updated | 2016-06-27T12:47:40.000+0000 |
Description
I use the Italian version of Windows 7.
I installed Appcelerator Studio and two Android SDKs.
When I start Appcelerator Studio, I see in the Console window, just under the text "Dev Toolbox Console", the following six lines:
["'eventsDispatcher' non è definito","",1]
["Previsto ')'","",1]
["'eventsDispatcher' non è definito","",1]
["'eventsDispatcher' non è definito","",1]
["Previsto ')'","",1]
["Previsto ')'","",1]
"non è definito" is an Italian text meaning "is undefined" or "is not defined".
"Previsto" is an Italian text meaning "Expected" or "Foreseen" (singular masculine).
Then, if I import the "Employee Directory" sample project, and then Run it with "Mobile Web Preview in Browser", I get the following erro:
2016-06-17T14:08:41.527Z | ERROR | An uncaught exception was thrown!
Cannot read property 'options' of undefined
2016-06-17T14:08:41.527Z | ERROR | Cannot read property 'options' of undefined
2016-06-17T14:08:41.527Z | TRACE | TypeError: Cannot read property 'options' of undefined
at C:\ProgramData\Titanium\mobilesdk\win32\5.3.0.GA\node_modules\titanium-sdk\lib\titanium.js:65:11
I read that it is necessary to have Visual Studio installed.
Then, I installed also Microsoft Visual Studio 2015 Community Update 2, but I keep getting this error. I get this error also setting as target "titanium_1_WVGA800".
Hello, Can you try running the below command in administrative command prompt. rm -rf ~/.appcelerator rm -rf ~/.titanium npm uninstall -g titanium npm uninstall -g appcelerator npm install -g appcelerator appc use latest appc setup Now, From the studio try installing the previous SDK 5.2.2.GA from studio help/install appcelerator sdk/install from update stream/release dropdown. Please create a project with SDK 5.2.2.GA and try running the project. Also, Please run the below command "appc info" and attach the output as text file in this ticket. Regards, Sharif.
The previous week I had no time for this project, but now I have done what required, and it still does not work. The command "appc info" has the following output: {noformat} Appcelerator Command-Line Interface, version 5.3.0 Copyright (c) 2014-2016, Appcelerator, Inc. All Rights Reserved. Appcelerator CLI Installer = 4.2.6 Core Package = 5.3.0 Titanium CLI CLI Version = 5.0.8 node-appc Version = 0.2.31 Titanium SDKs 5.3.0.GA Version = 5.3.0 Install Location = C:\ProgramData\Titanium\mobilesdk\win32\5.3.0.GA Platforms = android, mobileweb, windows git Hash = 94fa8af git Timestamp = 06/01/16 10:17 node-appc Version = 0.2.33 5.2.2.GA Version = 5.2.2 Install Location = C:\ProgramData\Titanium\mobilesdk\win32\5.2.2.GA Platforms = android, mobileweb, windows git Hash = b685ddb git Timestamp = 03/28/16 14:12 node-appc Version = 0.2.33 Intel® Hardware Accelerated Execution Manager (HAXM) Not installed Genymotion Path = not found Genymotion Executable = not found Genymotion Player = not found Home = not found VirtualBox Executable = not found Version = unknown Issues No issues detected! Your development environment should be working perfectly! {noformat} In Appcelerator Studio I created an empty two-tabbed app using SDK 5.2.2.GA. It works if I run it for target "Mobile Web Preview in Browser", but if I set as target "titanium_1_WVGA800", it opens two emulator windows, one textual, with title "C:\android-sdk-win\tools/emulator-arm.exe", and the other graphical, with title "5554:titanium_1_WVGA800", and emits the following output, ending with a timeout error: {noformat} Appcelerator Command-Line Interface, version 5.3.0 Copyright (c) 2014-2016, Appcelerator, Inc. All Rights Reserved. 2016-06-27T12:23:28.697Z | TRACE | set environment to {"registry":"https://software.appcelerator.com","security":"https://security.appcelerator.com","baseurl":"https://platform.appcelerator.com"} 2016-06-27T12:23:28.697Z | TRACE | checking credentials for existing session 2016-06-27T12:23:29.024Z | TRACE | Attempting to load session info from config file 2016-06-27T12:23:29.024Z | TRACE | check if session is invalidated 2016-06-27T12:23:29.899Z | TRACE | session expiry 1467620858814 false 2016-06-27T12:23:29.899Z | TRACE | Arrow Cloud config file: C:\Users\cmilanesi\.acs 2016-06-27T12:23:29.899Z | TRACE | found Arrow Cloud login { mid: 'e46c8b32f4b6000937dceca544ad1ae1154117fe', publishPort: 443, publishHost: 'https://admin.cloudapp-enterprise.appcelerator.com', username: 'cmilanesi@imteam.it', cookie: [ 'connect.sid=s%3AGvcPDTTHbvQ%2B9B%2FUpbaNEvSy.sqHKrPvmOTu22u6K0mSBOW78NzS8fsmarJcFkfs4f8M; Path=/; Expires=Mon, 11 Jul 2016 08:27:41 GMT; HttpOnly' ], defaultEP: { publishHost: 'https://admin.cloudapp-enterprise.appcelerator.com', publishPort: 443 } } , checking nodeACSEndpoint= https://admin.cloudapp-enterprise.appcelerator.com 2016-06-27T12:23:29.899Z | TRACE | Arrow Cloud cookie expiry [ 1468225661000 ] 2016-06-27T12:23:29.914Z | TRACE | session already loaded in opts.session 2016-06-27T12:23:29.914Z | TRACE | getCredentials() session: { "ipaddress": "192.168.127.128", "username": "cmilanesi@imteam.it", "password": "
development
: [INFO] : [object Object] [INFO] : APSAnalyticsService: Analytics Service Started [INFO] : APSAnalyticsService: Stopping Analytics Service {noformat} The emulator windows are unchanged. Then nothing appears for at least twelve minutes.