[AC-2018] Deploy Application on Device
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2014-02-17T07:42:54.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Titanium SDK & CLI |
Labels | deploy, device, mobile, testing, titanium |
Reporter | Vatthanachai Wongprasert |
Assignee | Ritu Agrawal |
Created | 2014-01-31T04:05:17.000+0000 |
Updated | 2016-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
File | Date | Size |
---|---|---|
31-1-2557 11-02-33.png | 2014-01-31T04:05:17.000+0000 | 55821 |
31-1-2557 11-07-16.png | 2014-01-31T04:07:40.000+0000 | 162624 |
31-1-2557 11-08-05.png | 2014-01-31T04:08:32.000+0000 | 50037 |
31-1-2557 16-46-10.png | 2014-01-31T09:46:41.000+0000 | 63509 |
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.
I think i use this version of sdk 3.2.0.201312191547, Becuz I use auto update sdk from titanium.
I would appreciate if you can attach the output of the following command: titanium info
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
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
This from Diagnostic test :>
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.
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.