[TIMOB-10736] Android: Modules: Module packaging fails on Linux
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2014-06-16T16:48:29.000+0000 |
Affected Version/s | Release 2.1.1, Release 2.1.2 |
Fix Version/s | n/a |
Components | Android |
Labels | core, qe-and082012 |
Reporter | Dustin Hyde |
Assignee | Ingo Muschenetz |
Created | 2012-08-31T15:13:11.000+0000 |
Updated | 2017-03-20T21:29:59.000+0000 |
Description
When packaging android modules on Linux, there is a build error.
Console:
BUILD FAILED
/home/tester/.titanium/mobilesdk/linux/2.1.2.GA/module/android/build.xml:265: Compile failed; see the compiler error output for details.
This is not a regression. This worked on Ubuntu 10.04 using ant 1.8, but reinstalling 1.8 caused the same problem.
Steps to Reproduce:
1. Create an Android Module.
2. Package Android Module using ant, either from Studio or command line.
Actual Result:
Error.
Expected Result:
Android Module Packages.
Attachments
File | Date | Size |
---|---|---|
console.txt | 2012-08-31T15:13:11.000+0000 | 17605 |
This is not occurring using Titanium Studio on Ubuntu 10.04, but it is occurring using Titanium Studio on Ubuntu 12.04.
Reinstalling Studio fixed the issue in Titanium Studio Android Module Packaging on Ubuntu 12.04. There is yet to be a solution for command line ant builds on android modules.
This appears to be an issue with needing to restart the os in order for ant to be properly recognized.
I am able to reproduce the issue. Using the environment: Appcelerator Studio, build: 3.2.0.201311161724 SDK: 3.2.0.v20131119142443 alloy: 1.3.0 acs: 1.0.7 npm: 1.3.2 titanium: 3.2.0-alpha titanium-code-processor: 1.1.0-alpha OS: Ubuntu 12.04 (64-bit) LTS Hers's the log
Module packing is working fine now Tested on: Appcelerator Studio, build: 3.2.0.201312181652 SDK: 3.2.0.v20131210191510 alloy: 1.3.0-cr2 acs: 1.0.10 npm: 1.3.2 titanium: 3.2.0-cr3 titanium-code-processor: 1.1.0-cr2 OS: Ubuntu 12.04 (64-bit) LTS
Issue is reproducible Environment used: Tested on: SDK: 3.3.0.v20140611130912 CLI version : 3.3.0-rc OS : Ubuntu(12.04), 32-bit Alloy: 1.4.0-beta2 ACS: 1.0.14 npm:1.3.2 LiveView: 1.0.4 Titanium Studio, build: 3.3.0.201406101332 titanium-code-processor: 1.1.1 Logs are as follows
Tested on: Ubuntu 14.04 Appcelerator Studio, build: 3.3.0.201406111952 Titanium Studio, build: 3.3.0.201406111946 Titanium SDK, build: 3.3.0.v20140612101712 Titanium CLI, build: 3.3.0-rc Alloy: 1.4.0-rc Android NDK: r9d The issue [~pmishra] is hitting is due to missing dependancies. To fix this issue, download the following: Apache Ant: [Version 1.9.4](http://apache.claz.org//ant/binaries/apache-ant-1.9.4-bin.zip) Python: [Version 2.7.7](https://www.python.org/ftp/python/2.7.7/Python-2.7.7.tgz) sudo apt-get install gperf -y Once downloaded, set each of them in your environment variables. To set the environment variables, do the following: Run 'sudo pico ~/.bashrc' in your terminal Add these lines to the end of the file:
Once all of these were set up I was able to successfully package the module from Studio and the CLI.
Based on comments, I believe this is invalid. Please let me know if you believe otherwise.
Closing ticket as invalid.