Titanium JIRA Archive
Appcelerator Community (AC)

[AC-1463] Android module can't contain underscore sign

GitHub Issuen/a
ResolutionCannot Reproduce
Resolution Date2015-09-30T02:26:30.000+0000
Affected Version/sn/a
Fix Version/sn/a
Labelsandroid, android-modules, mobile-module-project, module
ReporterShlomi Or
AssigneeShak Hossain


If trying to create a new Mobile Module Project and having an underscore (_) sign in the module name, the module does not compile with 'ant'. It will return the error: exec returned: 2 If created all lowercase and without it, the project will be compiled without any problems.


  1. Rakhi Mitro 2015-08-22

    Hello [~shlomi], We tested your issue in our environment. Its working as expected. Please follow the steps below and let me know. *In Studio:* 1.From the menu, select File > New > Mobile Module Project to open the New Mobile Module Project dialog. 2.In the Project Name field, enter test_project. 3.In the Module Id field, enter com.example. test_project 4.In Deployment Targets, select Android.(if need install JDT) 5.Click Next, then click Finish. 6. If need Check NDK Settings in build.properties and check also ant version. 7.From a terminal,go to the module’s android directory and run ant *android /Users/gsl5/Documents/apache_ant/bin/ant* After the build completes, there will be a BUILD SUCCESSFUL Message in Terminal. Thanks

JSON Source