alloy compile error

105 views
Skip to first unread message

Darek C.

unread,
Oct 18, 2014, 12:00:29 PM10/18/14
to tish...@googlegroups.com
Hi,

firstly im total newbie with titanium.

I'm trying to build new created project with commend:

titanium build -p android -T device --shadow

In result im getting:

$ titanium build -p android -T device --shadow
Titanium Command-Line Interface, CLI version 3.4.0, Titanium SDK version 3.4.0.GA
Copyright (c) 2012-2014, Appcelerator, Inc.  All Rights Reserved.

Please report bugs to http://jira.appcelerator.org/

[INFO]  Auto selecting device that closest matches 4.4
[DEBUG] Searching for version >= 4.4 and has Google APIs
[DEBUG] Searching for version >= 4.4 and may have Google APIs
[DEBUG] Searching for version >= 4.4 and no Google APIs
[DEBUG] Searching for version < 4.4 and has Google APIs
[INFO]  Auto selected device VILLE 4.1.1
[DEBUG] Detecting modules in C:\ProgramData\Application Data\Titanium\modules
[DEBUG] Detected android module: facebook 3.0.2 @ C:\ProgramData\Application Data\Titanium\modules\android\facebook\3.0.2
[DEBUG] Detected android module: ti.cloudpush 3.3.0 @ C:\ProgramData\Application Data\Titanium\modules\android\ti.cloudpush\3.3.0
[DEBUG] Detected android module: ti.map 2.1.4 @ C:\ProgramData\Application Data\Titanium\modules\android\ti.map\2.1.4
[DEBUG] Detected commonjs module: ti.cloud 3.2.5 @ C:\ProgramData\Application Data\Titanium\modules\commonjs\ti.cloud\3.2.5
[DEBUG] Detecting modules in C:\ProgramData\Titanium\modules
[DEBUG] Detected android module: facebook 3.0.2 @ C:\ProgramData\Titanium\modules\android\facebook\3.0.2
[DEBUG] Detected android module: ti.cloudpush 3.3.0 @ C:\ProgramData\Titanium\modules\android\ti.cloudpush\3.3.0
[DEBUG] Detected android module: ti.map 2.1.4 @ C:\ProgramData\Titanium\modules\android\ti.map\2.1.4
[DEBUG] Detected commonjs module: ti.cloud 3.2.5 @ C:\ProgramData\Titanium\modules\commonjs\ti.cloud\3.2.5
[DEBUG] Detecting plugins in G:\TitaniumStudioWorkspace\Work Space\plugins
[DEBUG] Detected plugin: ti.alloy @ G:\TitaniumStudioWorkspace\Work Space\plugins\ti.alloy
[DEBUG] Looking for Titanium plugin id=ti.alloy version=1.0
[INFO]  Found Titanium plugin id=ti.alloy version=1.0
[DEBUG] Titanium SDK Android directory: C:\ProgramData\Titanium\mobilesdk\win32\3.4.0.GA\android
[INFO]  Deploy type: test
[INFO]  Building for target: device
[INFO]  Building for device: FA35LW401361
[INFO]  Targeting Android SDK: 20
[INFO]  Building for the following architectures: armeabi, armeabi-v7a, x86
[INFO]  Signing with keystore: C:\ProgramData\Titanium\mobilesdk\win32\3.4.0.GA\android\dev_keystore (tidev)
[DEBUG] App ID: pl.stmn.workspace
[DEBUG] Classname: WorkSpace
[INFO]  Debugging disabled
[INFO]  Profiler disabled
[INFO]  Forcing rebuild: JavaScript files need to be re-encrypted

[INFO]  Preparing App...
[INFO] Beginning Build Process
[INFO] Compiling Alloy for android
[ERROR] Alloy Compile Error

[INFO]  Building App...
[INFO]  Starting TiShadow server
[INFO]  Starting Watch...
TiShadow REPL

launchApp(appName), closeApp(), runSpec() and clearCache() methods available.
require(), Ti.include() and assests are relative the running app.


> [INFO] Beginning Build Process
[INFO] Compiling Alloy for android
[DEBUG] TiShadow server started. Go to http://localhost:3000
[ERROR] Alloy Compile Error

[DEBUG] A socket connected
[INFO] [CONTROLLER] Connected
[DEBUG] changed: G:\TitaniumStudioWorkspace\Work Space\app\views\index.xml
[INFO] Beginning Build Process
[INFO] Compiling Alloy for android
[ERROR] Alloy Compile Error


$ titanium -v
3.4.0

$ node -v
v0.10.13

$ tishadow -v
2.6.0

Am I doing sth wrong?
Thanks.


shensi...@gmail.com

unread,
Feb 21, 2015, 6:58:38 PM2/21/15
to tish...@googlegroups.com
I think this is a problem caused by your Alloy code, but not the TiShadow. 

run this command 

$ alloy compile --platform android  

and see the detailed message. ( focus on the .xml or .js error tips) 
Reply all
Reply to author
Forward
0 new messages