Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-17059] Unable to package Android Module

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2018-02-26T15:33:42.000+0000
Affected Version/sRelease 3.3.0
Fix Version/sRelease 3.3.0, Release 3.4.0
ComponentsAndroid, CLI
Labelsmodule_module, qe-3.3.0, qe-testadded
ReporterDeepti Pandey
AssigneeChris Barber
Created2014-05-28T11:55:49.000+0000
Updated2018-02-26T15:33:47.000+0000

Description

Test steps: 1. Create an android module 2. Package it to any mobile app project or titaniumSDK Actual Result: Error occurs (edited for clarity):
Executing build.xml...
C:\Users\Global\Documents\Workspace\moduleproject\android\build.xml:37:
   Cannot find C:\Program Files (x86)\Appcelerator\Appcelerator Studio\module\android\build.xml imported from
   C:\Users\Global\Documents\Workspace\moduleproject\android\build.xml

Attachments

FileDateSize
error.png2014-05-28T11:58:45.000+0000106809
studio_module_publish_error.log2014-06-12T11:11:47.000+00008426

Comments

  1. Ingo Muschenetz 2014-05-28

    I wonder if this is a path issue. It looks as if it is looking in the wrong place for the Titanium SDK. I had to edit the build.properties file attached to a module for this sort of thing. Do we pass these properties into the build file as part of invoking ANT, or does a user need to edit the build.properties file manually?
  2. Chris Barber 2014-06-10

    Master pull request: https://github.com/appcelerator/titanium_mobile/pull/5785 3_3_X pull request: https://github.com/appcelerator/titanium_mobile/pull/5786
  3. Kajenthiran Velummaylum 2014-06-12

    I had the same error as originally reported with sdk: 3.3.0.20140605150555. Now I'm getting the following error with below mentioned environments. I am attaching the studio log file for more information.
       Executing build.xml...
       C:\ProgramData\Application Data\Titanium\mobilesdk\win32\3.3.0.v20140611130912\module\android\build.xml:326: The following error occurred while executing this line:
       C:\ProgramData\Application Data\Titanium\mobilesdk\win32\3.3.0.v20140611130912\module\android\build.xml:281: exec returned: 2
       
    *Tested Environment* || *Component* || *Version*|| | Appcelerator Studio | 3.3.0.201406111021 | | Titanium SDK | 3.3.0.v20140611130912 | | ACS | 1.0.14 | | Alloy | 1.4.0-rc | | CLI | 3.3.0-rc | | Titanium-code-processor | 1.1.1 | | Node.JS | v0.10.26 | | OS | Windows 8.1 |
  4. Ingo Muschenetz 2014-06-12

    Can you please try executing the build directly from the command line?
  5. Samuel Dowse 2014-06-12

  6. Kajenthiran Velummaylum 2014-06-13

    Followed the steps provided by [~sdowse]. Now Android packages could be *able to publish* without any issues.
  7. Samuel Dowse 2014-06-13

    Closing based on my comment, and feedback from [~kvelummaylum].
  8. Chris Barber 2018-02-26

    Reopening to fix sprint.

JSON Source