[TIMOB-10754] CLI: "build" command for Android modules
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2015-03-12T06:10:35.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 4.0.0 |
Components | CLI |
Labels | ft, hudder |
Reporter | Chris Barber |
Assignee | Feon Sua Xin Miao |
Created | 2012-09-04T14:48:14.000+0000 |
Updated | 2015-03-18T22:58:40.000+0000 |
This doesn't work for me. Here are my test steps: 1. Check out the PR 2. scons to build the SDK and install, make sure that SDK version is selected 3. Create the module with the command above 4. Change into the android directory 5. Build using the command above I'm prompted:
Where is the project directory?:
I enter.
and I'm just prompted again for the same. If I enter the actual path to the directory, I get\[ERROR\] Invalid project directory "~/Documents/Titanium_Studio_Workspace/test/android" because tiapp.xml not found
It's not clear to me what you mean by your statement that this PR depends on changes made for the iOS version. I tried starting with the SDK I built from the PR on TIMOB-10755. Then, I copied the android and module/android folder from this PR's SDK folder. I get an error though:TIMOB-10755 consists of one PR for basic infrastructure + iOS module build, and this one is a separate PR for Android that needs basic infrastructure changes from TIMOB-10755. I'll look into the 'code-processor' error, it never happened before. Thank you [~skypanther]!
I tested this again, now that the PR for TIMOB-10755 has been merged. With a fresh pull of this ticket's PR, I'm getting the same behavior as I described above.
https://github.com/appcelerator/titanium_mobile/pull/6486 Functionally tested and code reviewed. Merged it to master
4_0_X: https://github.com/appcelerator/titanium_mobile/pull/6715
Verified the implementation of the "build"command for android modules. An android module is successfully created & launches the example app on the android emulator. Closing. Environment: Appc Studio : 3.5.1.201412091616 Ti SDK : 4.0.0.v20150313181810 CLI : 3.4.2 Alloy : 1.5.1 MAC Yosemite : 10.10.2