Titanium JIRA Archive
Appcelerator Community (AC)

[AC-778] Problems creating Mobile Module Project

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionCannot Reproduce
Resolution Date2015-09-02T05:21:29.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsStudio
Labelsmodule, project-explorer, wizard
ReporterJason Priebe
AssigneeShak Hossain
Created2014-09-11T14:59:35.000+0000
Updated2016-03-08T07:37:02.000+0000

Description

Cannot create a Mobile Module project directly from the project explorer, and even have trouble with the New Project wizard. How to reproduce: - Right-click in Project Explorer - Choose New > Mobile Module Project Nothing happens In the New Project wizard: - Right-click in Project Explorer - Choose New > Project... - Choose Mobile Module Project - Hit Next Nothing happens (well, actually, a tiny info button appears in the upper-left corner). I found that if you create a Mobile App project first, and then hit "back", you can select Mobile Module Project, and the UI seems to work.

Attachments

FileDateSize
diagnostic.txt2014-09-11T15:45:36.000+000031100
log.txt2014-09-11T15:45:36.000+00003454
ss.png2014-09-11T15:03:31.000+000035902

Comments

  1. Jason Priebe 2014-09-11

    I take it back; I can't always create a mobile module with my workaround above. See my screenshot for what happened when I just tried this.
  2. Praveen Innamuri 2014-09-11

    Can you provide workspace logs (Help > Studio > View log file) and diagnostic logs (Help > Studio > Run diagnostic test) ?
  3. Jason Priebe 2014-09-11

    Log and diagnostics attached. I'm not sure about that JRE information, though. That does *exist* on my system, but the default JRE/JDK seems to be 1.8, not 1.6. $ /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java -version java version "1.6.0_65" Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-11M4609) Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode) $ java -version java version "1.8.0_11" Java(TM) SE Runtime Environment (build 1.8.0_11-b12) Java HotSpot(TM) 64-Bit Server VM (build 25.11-b03, mixed mode)
  4. Praveen Innamuri 2014-09-13

    Looks both Studio and SDK are on 3.4.x, Can you update titanium CLI to 3.4.x as well ? [sudo] npm -g install titanium@3.4.0-rc3 ? Also, the log file contains only a NPE while creating the dialog, I would assume there should be other log events while we create the project. Can you attach the complete log file ?
  5. Rakhi Mitro 2015-08-29

    Hello, Please follow the steps below and let us know. *Steps to do:* 1.Use Appcelerator studio as Titanium is obsolete. Follow the instruction [here](https://web.appcelerator.com/product/studio) to download the latest Appcelerator studio. Also, follow the instruction [here](https://web.appcelerator.com/product/cli) to install CLI, SDK. 2.Check [Android Module Prerequisites ](http://docs.appcelerator.com/platform/latest/#!/guide/Android_Module_Quick_Start-section-43289022_AndroidModuleQuickStart-AndroidModulePrerequisites) . 3.From Appcelerator Studio menu, *select File > New > Mobile Module Project* to open the New Mobile Module Project dialog. 4.In the Project hame field, enter testproject. 5.In the Module Id field, enter *com.example. testproject* 6.In Deployment Targets, select Android.(if need install JDT & check NDK Settings) 7.Click Next, then click Finish. *Test Environments:* CLI Version = 4.0.1 Titanium SDK Version = 4.1.0.GA Android: Google Galaxy Nexus - 4.1.1 - API 16 - 720x1280 Appc Studio: Appcelerator Studio, build: 4.1.1.201507141126 *Test Results:* Module creation is successful.We found that if we create a Mobile App project first, and then hit "back”,we can select Mobile Module Project, we got previous window working as expected. Thanks.

JSON Source