Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2018] Deploy Application on Device

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionCannot Reproduce
Resolution Date2014-02-17T07:42:54.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsdeploy, device, mobile, testing, titanium
ReporterVatthanachai Wongprasert
AssigneeRitu Agrawal
Created2014-01-31T04:05:17.000+0000
Updated2016-03-08T07:40:58.000+0000

Description

I have error when depoly (run) application on device for testing. I use this for set path by manual >> http://docs.appcelerator.com/titanium/latest/#!/guide/Software_Locations_and_Environment_Variables But it can't fix error, What can i do ? Titanium SDK : 3.2.0 GA Device : Samsung Galaxy Note 10.1 Android 4.1.2 OS : Windows 7 64bit

Attachments

FileDateSize
31-1-2557 11-02-33.png2014-01-31T04:05:17.000+000055821
31-1-2557 11-07-16.png2014-01-31T04:07:40.000+0000162624
31-1-2557 11-08-05.png2014-01-31T04:08:32.000+000050037
31-1-2557 16-46-10.png2014-01-31T09:46:41.000+000063509

Comments

  1. Ritu Agrawal 2014-01-31

    It would help to know if you are doing a distribution build or an ad-hoc build. Let us also know the timestamp of the Titanium SDK zip file on your machine.
  2. Vatthanachai Wongprasert 2014-01-31

    I think i use this version of sdk 3.2.0.201312191547, Becuz I use auto update sdk from titanium.
  3. Ritu Agrawal 2014-02-03

    I would appreciate if you can attach the output of the following command: titanium info
  4. Vatthanachai Wongprasert 2014-02-04

  5. Ritu Agrawal 2014-02-04

    Your Titanium setup appears to be correct. It would help us to narrow down the problem if you can try to build the project using CLI from a command prompt. Open a command prompt, change the directory to the project and run the following command and attach the build command output: ti build -p android
  6. Vatthanachai Wongprasert 2014-02-05

  7. Ritu Agrawal 2014-02-05

    Good news is that your application builds successfully from the command line so your software environment is setup correctly. We now need to figure out why the same application does not work from Studio. Can you please restart Studio as Administrator and try to build the same application again? If the application fails to build, please attach Studio log file (Help => Studio => Run Diagnostic Test). Android emulator can be flaky so so you want to increase the timeout by using the following command: titanium config android.emulatorStartTimeout 300000
  8. Vatthanachai Wongprasert 2014-02-06

    This from Diagnostic test :>
       Host OS: Windows 7
       OS Version: 6.1
       OS Arch: x86
       
       JRE Version: 1.7.0_51
       JRE Vendor: Oracle Corporation
       JRE Home: C:\Java\jre7
       
       Titanium Studio Version: 3.2.0.201312191547
       Install Directory: file:/C:/Users/Rei/AppData/Local/Titanium Studio/
       Workspace Directory: file:/C:/Users/Rei/Titanium_Studio_Workspace/
       VM Arguments: -Xms128m
       -Xmx1024m
       -XX:MaxPermSize=256m
       -Xverify:none
       -Declipse.p2.unsignedPolicy=allow
       -Declipse.log.size.max=10000
       -Declipse.log.backup.max=5
       -Djava.awt.headless=true
       -Djava.class.path=C:\Users\Rei\AppData\Local\Titanium Studio\\plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
       
       Language: en_US
       
       ACS App URL: https://api.cloud.appcelerator.com/v1/apps/create.json?key=7fI2AZHmrSvAHNKsSQKzrSXz5NWjo2tt
       ACS Login URL: https://api.cloud.appcelerator.com/v1/admins/studio_login.json?key=7fI2AZHmrSvAHNKsSQKzrSXz5NWjo2tt
       Latest Titanium SDK: 3.2.0.GA
       
       Titanium SDK Version: 3.2.0.GA
       SDK Modules API Version:2
       SDK Timestamp: 12/20/13 10:56
       SDK Build Number: d9182d6
       SDK Location: C:\Users\Rei\AppData\Roaming\Titanium\mobilesdk\win32\3.2.0.GA
       
       Browsers
         - Default system web browser: Unknown (N/A)
         - Firefox: 26.0 (C:\Program Files (x86)\Mozilla Firefox\firefox.exe)
         - Internet Explorer: 9.10.9200.16686 (C:\Program Files\Internet Explorer\iexplore.exe)
         - Google Chrome: 32.0.1700.107 (C:\Program Files (x86)\Google\Chrome\Application\chrome.exe)
       
       Android SDK Version: Unknown/Uninstalled
       Android NDK Version: Unknown/Uninstalled
       
       Titanium CLI Enabled: true
       
       Node.ACS Host URL: null
       Node.JS Version: v0.10.25
       
       NPM Path: C:\nodejs\node_modules\npm\bin\npm-cli.js
       
       NPM Version: 1.3.24
       
       C:\Users\Rei\AppData\Roaming\npm
       
       ├── acs@1.0.12
       
       ├── alloy@1.3.0
       
       └── titanium@3.2.0
       
       
       
       npm -g ls titanium: C:\Users\Rei\AppData\Roaming\npm
       
       └── titanium@3.2.0 
       
       
       
       Packages: C:\Users\Rei\AppData\Roaming\npm
       
       ├─┬ acs@1.0.12
       
       │ ├── acs-node@0.9.2
       
       │ ├── colors@0.6.0-1
       
       │ ├── commander@0.6.1
       
       │ ├─┬ connect@2.3.5
       
       │ │ ├── bytes@0.0.1
       
       │ │ ├── cookie@0.0.4
       
       │ │ ├── crc@0.2.0
       
       │ │ ├── debug@0.7.4
       
       │ │ ├── formidable@1.0.11
       
       │ │ ├── fresh@0.0.1
       
       │ │ ├── mime@1.2.4
       
       │ │ ├── qs@0.4.2
       
       │ │ └── range-parser@0.0.4
       
       │ ├── ejs@0.8.0
       
       │ ├── esprima@0.9.9
       
       │ ├─┬ express@3.0.0
       
       │ │ ├─┬ connect@2.6.0
       
       │ │ │ ├── bytes@0.1.0
       
       │ │ │ ├── formidable@1.0.11
       
       │ │ │ ├── pause@0.0.1
       
       │ │ │ ├── qs@0.5.1
       
       │ │ │ └─┬ send@0.0.4
       
       │ │ │   └── mime@1.2.6
       
       │ │ ├── cookie@0.0.4
       
       │ │ ├── crc@0.2.0
       
       │ │ ├── debug@0.7.4
       
       │ │ ├── fresh@0.1.0
       
       │ │ ├── methods@0.0.1
       
       │ │ ├── range-parser@0.0.4
       
       │ │ └─┬ send@0.1.0
       
       │ │   └── mime@1.2.6
       
       │ ├─┬ fstream@0.1.18
       
       │ │ ├── graceful-fs@1.1.14
       
       │ │ ├── inherits@1.0.0
       
       │ │ └── rimraf@2.2.6
       
       │ ├─┬ jade@0.28.1
       
       │ │ └── coffee-script@1.4.0
       
       │ ├─┬ log4js@0.5.1
       
       │ │ └── async@0.1.15
       
       │ ├── mkdirp@0.3.3
       
       │ ├── node-uuid@1.3.3
       
       │ ├─┬ npm@1.3.25
       
       │ │ ├── abbrev@1.0.4
       
       │ │ ├── ansi@0.2.1
       
       │ │ ├── ansicolors@0.3.2
       
       │ │ ├── ansistyles@0.1.3
       
       │ │ ├── archy@0.0.2
       
       │ │ ├── block-stream@0.0.7
       
       │ │ ├── child-process-close@0.1.1
       
       │ │ ├── chmodr@0.1.0
       
       │ │ ├── chownr@0.0.1
       
       │ │ ├── cmd-shim@1.1.1
       
       │ │ ├── columnify@0.1.2
       
       │ │ ├── editor@0.0.5
       
       │ │ ├── fstream@0.1.25
       
       │ │ ├─┬ fstream-npm@0.1.6
       
       │ │ │ └── fstream-ignore@0.0.7
       
       │ │ ├── github-url-from-git@1.1.1
       
       │ │ ├── github-url-from-username-repo@0.0.2
       
       │ │ ├── glob@3.2.7
       
       │ │ ├── graceful-fs@2.0.1
       
       │ │ ├── inherits@2.0.1
       
       │ │ ├── ini@1.1.0
       
       │ │ ├─┬ init-package-json@0.0.14
       
       │ │ │ └── promzard@0.2.1
       
       │ │ ├── lockfile@0.4.2
       
       │ │ ├── lru-cache@2.5.0
       
       │ │ ├─┬ minimatch@0.2.14
       
       │ │ │ └── sigmund@1.0.0
       
       │ │ ├── mkdirp@0.3.5
       
       │ │ ├── node-gyp@0.12.2
       
       │ │ ├── nopt@2.1.2
       
       │ │ ├─┬ npm-registry-client@0.3.3
       
       │ │ │ └── couch-login@0.1.19
       
       │ │ ├── npm-user-validate@0.0.3
       
       │ │ ├─┬ npmconf@0.1.12
       
       │ │ │ └─┬ config-chain@1.1.8
       
       │ │ │   └── proto-list@1.2.2
       
       │ │ ├── npmlog@0.0.6
       
       │ │ ├── once@1.3.0
       
       │ │ ├── opener@1.3.0
       
       │ │ ├── osenv@0.0.3
       
       │ │ ├── path-is-inside@1.0.0
       
       │ │ ├─┬ read@1.0.5
       
       │ │ │ └── mute-stream@0.0.4
       
       │ │ ├── read-installed@0.2.5
       
       │ │ ├─┬ read-package-json@1.1.6
       
       │ │ │ └── normalize-package-data@0.2.8
       
       │ │ ├─┬ request@2.30.0
       
       │ │ │ ├── aws-sign2@0.5.0
       
       │ │ │ ├── forever-agent@0.5.0
       
       │ │ │ ├─┬ form-data@0.1.2
       
       │ │ │ │ ├── async@0.2.9
       
       │ │ │ │ └─┬ combined-stream@0.0.4
       
       │ │ │ │   └── delayed-stream@0.0.5
       
       │ │ │ ├─┬ hawk@1.0.0
       
       │ │ │ │ ├── boom@0.4.2
       
       │ │ │ │ ├── cryptiles@0.2.2
       
       │ │ │ │ ├── hoek@0.9.1
       
       │ │ │ │ └── sntp@0.2.4
       
       │ │ │ ├─┬ http-signature@0.10.0
       
       │ │ │ │ ├── asn1@0.1.11
       
       │ │ │ │ ├── assert-plus@0.1.2
       
       │ │ │ │ └── ctype@0.5.2
       
       │ │ │ ├── json-stringify-safe@5.0.0
       
       │ │ │ ├── mime@1.2.11
       
       │ │ │ ├── node-uuid@1.4.1
       
       │ │ │ ├── oauth-sign@0.3.0
       
       │ │ │ ├── qs@0.6.6
       
       │ │ │ ├─┬ tough-cookie@0.9.15
       
       │ │ │ │ └── punycode@1.2.3
       
       │ │ │ └── tunnel-agent@0.3.0
       
       │ │ ├── retry@0.6.0
       
       │ │ ├── rimraf@2.2.6
       
       │ │ ├── semver@2.2.1
       
       │ │ ├─┬ sha@1.2.3
       
       │ │ │ └── readable-stream@1.0.24
       
       │ │ ├── slide@1.1.5
       
       │ │ ├── tar@0.1.19
       
       │ │ ├── text-table@0.2.0
       
       │ │ ├── uid-number@0.0.3
       
       │ │ └── which@1.0.5
       
       │ ├── pkginfo@0.2.2
       
       │ ├─┬ request@2.14.0
       
       │ │ ├─┬ form-data@0.0.7
       
       │ │ │ ├── async@0.1.22
       
       │ │ │ └─┬ combined-stream@0.0.4
       
       │ │ │   └── delayed-stream@0.0.5
       
       │ │ └── mime@1.2.9
       
       │ ├─┬ socket.io@0.9.16
       
       │ │ ├── base64id@0.1.0
       
       │ │ ├── policyfile@0.0.4
       
       │ │ ├── redis@0.7.3
       
       │ │ └─┬ socket.io-client@0.9.16
       
       │ │   ├─┬ active-x-obfuscator@0.0.1
       
       │ │   │ └── zeparser@0.0.5
       
       │ │   ├── uglify-js@1.2.5
       
       │ │   ├─┬ ws@0.4.31
       
       │ │   │ ├── nan@0.3.2
       
       │ │   │ ├── options@0.0.5
       
       │ │   │ └── tinycolor@0.0.1
       
       │ │   └── xmlhttprequest@1.4.2
       
       │ ├── string@1.1.0
       
       │ ├─┬ tar@0.1.13
       
       │ │ ├─┬ block-stream@0.0.7
       
       │ │ │ └── inherits@2.0.1
       
       │ │ └── inherits@1.0.0
       
       │ ├── temp@0.4.0
       
       │ ├── uglify-js@1.3.2
       
       │ ├── underscore@1.3.3
       
       │ └── wrench@1.3.9
       
       ├─┬ alloy@1.3.0
       
       │ ├── colors@0.6.0-1
       
       │ ├── commander@0.6.1
       
       │ ├─┬ jsonlint@1.5.1
       
       │ │ ├── JSV@4.0.2
       
       │ │ └─┬ nomnom@1.6.2
       
       │ │   ├── colors@0.5.1
       
       │ │   └── underscore@1.4.4
       
       │ ├── pkginfo@0.2.2
       
       │ ├─┬ source-map@0.1.9
       
       │ │ └── amdefine@0.1.0
       
       │ ├─┬ uglify-js@2.2.5
       
       │ │ └─┬ optimist@0.3.7
       
       │ │   └── wordwrap@0.0.2
       
       │ ├── wrench@1.3.9
       
       │ ├─┬ xml2tss@0.0.5
       
       │ │ └─┬ xml2js@0.2.8
       
       │ │   └── sax@0.5.8
       
       │ └── xmldom@0.1.13
       
       └─┬ titanium@3.2.0
       
         ├── async@0.2.10
       
         ├── colors@0.6.2
       
         ├─┬ fields@0.1.12
       
         │ └── keypress@0.1.0
       
         ├── humanize@0.0.9
       
         ├─┬ jade@0.35.0
       
         │ ├── character-parser@1.2.0
       
         │ ├── commander@2.0.0
       
         │ ├─┬ constantinople@1.0.2
       
         │ │ └─┬ uglify-js@2.4.12
       
         │ │   ├─┬ optimist@0.3.7
       
         │ │   │ └── wordwrap@0.0.2
       
         │ │   ├─┬ source-map@0.1.31
       
         │ │   │ └── amdefine@0.1.0
       
         │ │   └── uglify-to-browserify@1.0.1
       
         │ ├── mkdirp@0.3.5
       
         │ ├─┬ monocle@1.1.50
       
         │ │ └─┬ readdirp@0.2.5
       
         │ │   └─┬ minimatch@0.2.14
       
         │ │     ├── lru-cache@2.5.0
       
         │ │     └── sigmund@1.0.0
       
         │ ├─┬ transformers@2.1.0
       
         │ │ ├─┬ css@1.0.8
       
         │ │ │ ├── css-parse@1.0.4
       
         │ │ │ └── css-stringify@1.0.5
       
         │ │ ├─┬ promise@2.0.0
       
         │ │ │ └── is-promise@1.0.0
       
         │ │ └─┬ uglify-js@2.2.5
       
         │ │   ├─┬ optimist@0.3.7
       
         │ │   │ └── wordwrap@0.0.2
       
         │ │   └─┬ source-map@0.1.31
       
         │ │     └── amdefine@0.1.0
       
         │ └─┬ with@1.1.1
       
         │   └─┬ uglify-js@2.4.0
       
         │     ├─┬ optimist@0.3.7
       
         │     │ └── wordwrap@0.0.2
       
         │     ├─┬ source-map@0.1.31
       
         │     │ └── amdefine@0.1.0
       
         │     └── uglify-to-browserify@1.0.1
       
         ├── longjohn@0.2.2
       
         ├── moment@2.4.0
       
         ├─┬ node-appc@0.2.0
       
         │ ├── adm-zip@0.4.3
       
         │ ├── diff@1.0.8
       
         │ ├─┬ dox@0.4.4
       
         │ │ ├── commander@0.6.1
       
         │ │ └── github-flavored-markdown@1.0.1
       
         │ ├── node-uuid@1.4.1
       
         │ ├── semver@2.1.0
       
         │ ├─┬ uglify-js@2.3.6
       
         │ │ ├─┬ optimist@0.3.7
       
         │ │ │ └── wordwrap@0.0.2
       
         │ │ └─┬ source-map@0.1.31
       
         │ │   └── amdefine@0.1.0
       
         │ └── xmldom@0.1.19
       
         ├─┬ optimist@0.6.0
       
         │ ├── minimist@0.0.5
       
         │ └── wordwrap@0.0.2
       
         ├─┬ request@2.27.0
       
         │ ├── aws-sign@0.3.0
       
         │ ├── cookie-jar@0.3.0
       
         │ ├── forever-agent@0.5.0
       
         │ ├─┬ form-data@0.1.2
       
         │ │ └─┬ combined-stream@0.0.4
       
         │ │   └── delayed-stream@0.0.5
       
         │ ├─┬ hawk@1.0.0
       
         │ │ ├── boom@0.4.2
       
         │ │ ├── cryptiles@0.2.2
       
         │ │ ├── hoek@0.9.1
       
         │ │ └── sntp@0.2.4
       
         │ ├─┬ http-signature@0.10.0
       
         │ │ ├── asn1@0.1.11
       
         │ │ ├── assert-plus@0.1.2
       
         │ │ └── ctype@0.5.2
       
         │ ├── json-stringify-safe@5.0.0
       
         │ ├── mime@1.2.11
       
         │ ├── node-uuid@1.4.1
       
         │ ├── oauth-sign@0.3.0
       
         │ ├── qs@0.6.6
       
         │ └── tunnel-agent@0.3.0
       
         ├── semver@2.2.1
       
         ├── sprintf@0.1.3
       
         ├─┬ temp@0.6.0
       
         │ ├── osenv@0.0.3
       
         │ └─┬ rimraf@2.1.4
       
         │   └── graceful-fs@1.2.3
       
         ├─┬ winston@0.6.2
       
         │ ├── async@0.1.22
       
         │ ├── cycle@1.0.3
       
         │ ├── eyes@0.1.8
       
         │ ├── pkginfo@0.2.3
       
         │ ├── request@2.9.203
       
         │ └── stack-trace@0.0.7
       
         └── wrench@1.5.6
       
       
       
       NPM_CONFIG_PREFIX env value: null
       
       Npm config prefix value : C:\Users\Rei\AppData\Roaming\npm
       
       
       ENV:
       ProgramData=C:\ProgramData
       USERPROFILE=C:\Users\Rei
       PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
       windows_tracing_logfile=C:\BVTBin\Tests\installpackage\csilogfile.log
       JAVA_HOME=C:\Java\jdk1.7.0_51
       VS110COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\Tools\
       ProgramFiles(x86)=C:\Program Files (x86)
       SystemDrive=C:
       TEMP=C:\Users\Rei\AppData\Local\Temp
       windows_tracing_flags=3
       ProgramFiles=C:\Program Files (x86)
       Path=C:/Java/jre7/bin/client;C:/Java/jre7/bin;C:/Java/jre7/lib/i386;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files (x86)\Microsoft SDKs\TypeScript\;C:\Java\jdk1.7.0_51\bin;D:\Android_SDK\sdk\platform-tools;D:\Android_SDK\sdk\tools;;C:\Program Files (x86)\GtkSharp\2.12\bin;C:\Program Files\Microsoft\Web Platform Installer\;C:\Program Files (x86)\LINQPad4;C:\nodejs\;C:\Users\Rei\AppData\Roaming\npm;C:\Users\Rei\AppData\Local\Titanium Studio;
       HOMEDRIVE=C:
       PROCESSOR_REVISION=170a
       USERDOMAIN=REIPC
       ALLUSERSPROFILE=C:\ProgramData
       VS90COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools\
       ProgramW6432=C:\Program Files
       PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 23 Stepping 10, GenuineIntel
       SESSIONNAME=Console
       TMP=C:\Users\Rei\AppData\Local\Temp
       PROCESSOR_ARCHITECTURE=x86
       LOGONSERVER=\\REIPC
       =::=::\
       CommonProgramFiles=C:\Program Files (x86)\Common Files
       PROCESSOR_ARCHITEW6432=AMD64
       OS=Windows_NT
       FP_NO_HOST_CHECK=NO
       HOMEPATH=\Users\Rei
       VS100COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools\
       PROCESSOR_LEVEL=6
       CommonProgramW6432=C:\Program Files\Common Files
       LOCALAPPDATA=C:\Users\Rei\AppData\Local
       Android=D:\Android_SDK\sdk\platform-tools;D:\Android_SDK\sdk\tools;
       VS120COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Tools\
       GTK_BASEPATH=C:\Program Files (x86)\GtkSharp\2.12\
       COMPUTERNAME=REIPC
       SystemRoot=C:\Windows
       windir=C:\Windows
       NUMBER_OF_PROCESSORS=2
       PSModulePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
       PUBLIC=C:\Users\Public
       USERNAME=Rei
       CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
       ComSpec=C:\Windows\system32\cmd.exe
       APPDATA=C:\Users\Rei\AppData\Roaming
       
  9. Michael Xia 2014-02-10

    We could find the full build command that Studio runs by doing the following: 1. Open Preferences > Studio > Troubleshooting page; 2. Change Debug Level to All and make "com.aptana.debug/debug/shell" entry checked; 3. Hit OK and run the project; 4. Open Help > Studio > View Log File; 5. Scroll to the bottom and find the line that contains "titanium.CMD ... build". Vatthanachai, could you try the above steps? Once you locate the line, paste the command to command prompt (without the "Process: " part) and run it to see if it generates the same error. Thanks.
  10. Ritu Agrawal 2014-02-17

    Resolving this ticket as we have not been able to reproduce this issue and the reporter has not followed up on the requested information. We would be happy to reopen the ticket if we can get the requested log files.

JSON Source