[AC-1463] Android module can't contain underscore sign
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Resolved |
Resolution | Cannot Reproduce |
Resolution Date | 2015-09-30T02:26:30.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | android, android-modules, mobile-module-project, module |
Reporter | Shlomi Or |
Assignee | Shak Hossain |
Created | 2015-05-01T04:02:48.000+0000 |
Updated | 2016-03-08T07:37:54.000+0000 |
Description
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.
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