Titanium JIRA Archive
Appcelerator Community (AC)

[AC-1369] Unable to create a Titanium Android module from Windows: "Could not move"

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionNeeds more info
Resolution Date2014-09-08T21:27:05.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
LabelsTCSupport
ReporterPraveen Kodakkad
AssigneePraveen Innamuri
Created2014-07-12T17:12:23.000+0000
Updated2016-03-08T07:37:47.000+0000

Description

Steps to Reproduce

File->New Module Project -> Select target sdk to any 3.2.3,3.2.2,3.2.0. And create new module project

Actual Result

Exception: No 'android-10' or 'android-2.3.3' in the Android SDK Aborting Module project not created

Expected Result

Module project to be created

Comments

  1. Ingo Muschenetz 2014-07-14

    Do you have android-10 installed?
  2. Harish Mridha 2014-07-15

    We tried to reproduce this issue with a sample test case. It’s working as expected with Titanium 3.2.X.GA.

    TESTING ENVIRONMENT:

    Titanium SDK 3.2.X.GA Ti CLI 3.2.3 OS Windows 7 32bit

    STEPS TO TEST

    1. Click File->New->Mobile Module Project 2. Fill Project Location Section 3. Next Fill Module Modification File 4. Click finish and module project created successfully.

    EXPECTED RESULT

    It’s working as expected. Thanks
  3. Praveen Kodakkad 2014-07-15

    Yes I have a android-10 installed in my Android SDK.
  4. Praveen Kodakkad 2014-07-15

    Now again if I am trying to create a module, after downloading all the android versions from 2.3 to 4.4 I am getting following error message. Could not move: C:\Users\xxx\AppData\Local\Temp\module_temp1859809400254981097.tmp\modulemgr. Could not move: C:\Users\xxx\AppData\Local\Temp\module_temp1859809400254981097.tmp\modulemgr. File not found: C:\Users\xxx\AppData\Local\Temp\module_temp1859809400254981097.tmp\modulemgr. C:\Users\xxx\AppData\Local\Temp\module_temp1859809400254981097.tmp\modulemgr (The system cannot find the path specified)
  5. Ingo Muschenetz 2014-07-29

    Can you try creating the module from the CLI? http://docs.appcelerator.com/titanium/3.0/#!/guide/Titanium_Command-Line_Interface_Reference-section-35619828_TitaniumCommand-LineInterfaceReference-Create I'd like to see if that works for you.
  6. Praveen Kodakkad 2014-08-14

    I am still not able to create android module trhu studio. Rather thru cli it is working. Folks its easy to say not reproduced. If you need I can get u more details.
  7. Mauro Parra-Miranda 2014-08-14

    Hello [~pravipravi]! Please let's do this: 0. Open your Ti Studio as administrator. 1. Clean your logs. - Go to Titanium Studio - Help menu - Titanium Studio - Clean log 2. Run your test. - Create a new mobile module project - Name it TestModule - If will fail. - Go to the Help menu - > Titanium Studio -> View log. - Paste the output as a comment here. Thanks a lot!
  8. Praveen Kodakkad 2014-08-15

    It failed again. Please find log below. I assume u could get some clue from this. -------------------------------------------------------------------------------------------------- !ENTRY com.aptana.projects 2 0 2014-08-15 19:59:37.953 !MESSAGE Internal error: !STACK 1 org.eclipse.core.runtime.CoreException: at com.aptana.projects.wizards.AbstractNewProjectWizard$1.run(AbstractNewProjectWizard.java:253) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2345) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2327) at com.aptana.projects.wizards.AbstractNewProjectWizard.doCreateProject(AbstractNewProjectWizard.java:321) at com.aptana.projects.wizards.AbstractNewProjectWizard$2.run(AbstractNewProjectWizard.java:374) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121) Caused by: java.lang.NullPointerException at com.appcelerator.titanium.core.internal.cli.NodeTitaniumSDKCommandsHandler.createModuleProject(NodeTitaniumSDKCommandsHandler.java:220) at com.appcelerator.titanium.ui.ide.wizard.NewMobileModuleProjectWizard.finalizeProjectCreation(NewMobileModuleProjectWizard.java:254) at com.appcelerator.titanium.ui.wizard.BasicNewTitaniumProjectWizard.createNewProject(BasicNewTitaniumProjectWizard.java:300) at com.aptana.projects.wizards.AbstractNewProjectWizard$1.run(AbstractNewProjectWizard.java:249) ... 5 more !SUBENTRY 1 com.aptana.projects 4 0 2014-08-15 19:59:37.955 !MESSAGE !STACK 0 java.lang.NullPointerException at com.appcelerator.titanium.core.internal.cli.NodeTitaniumSDKCommandsHandler.createModuleProject(NodeTitaniumSDKCommandsHandler.java:220) at com.appcelerator.titanium.ui.ide.wizard.NewMobileModuleProjectWizard.finalizeProjectCreation(NewMobileModuleProjectWizard.java:254) at com.appcelerator.titanium.ui.wizard.BasicNewTitaniumProjectWizard.createNewProject(BasicNewTitaniumProjectWizard.java:300) at com.aptana.projects.wizards.AbstractNewProjectWizard$1.run(AbstractNewProjectWizard.java:249) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2345) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2327) at com.aptana.projects.wizards.AbstractNewProjectWizard.doCreateProject(AbstractNewProjectWizard.java:321) at com.aptana.projects.wizards.AbstractNewProjectWizard$2.run(AbstractNewProjectWizard.java:374) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121) !ENTRY com.aptana.projects 2 0 2014-08-15 19:59:42.358 !MESSAGE Internal error: !STACK 1 org.eclipse.core.runtime.CoreException: at com.aptana.projects.wizards.AbstractNewProjectWizard$1.run(AbstractNewProjectWizard.java:253) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2345) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2327) at com.aptana.projects.wizards.AbstractNewProjectWizard.doCreateProject(AbstractNewProjectWizard.java:321) at com.aptana.projects.wizards.AbstractNewProjectWizard$2.run(AbstractNewProjectWizard.java:374) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121) Caused by: java.lang.NullPointerException at com.appcelerator.titanium.core.internal.cli.NodeTitaniumSDKCommandsHandler.createModuleProject(NodeTitaniumSDKCommandsHandler.java:220) at com.appcelerator.titanium.ui.ide.wizard.NewMobileModuleProjectWizard.finalizeProjectCreation(NewMobileModuleProjectWizard.java:254) at com.appcelerator.titanium.ui.wizard.BasicNewTitaniumProjectWizard.createNewProject(BasicNewTitaniumProjectWizard.java:300) at com.aptana.projects.wizards.AbstractNewProjectWizard$1.run(AbstractNewProjectWizard.java:249) ... 5 more !SUBENTRY 1 com.aptana.projects 4 0 2014-08-15 19:59:42.359 !MESSAGE !STACK 0 java.lang.NullPointerException at com.appcelerator.titanium.core.internal.cli.NodeTitaniumSDKCommandsHandler.createModuleProject(NodeTitaniumSDKCommandsHandler.java:220) at com.appcelerator.titanium.ui.ide.wizard.NewMobileModuleProjectWizard.finalizeProjectCreation(NewMobileModuleProjectWizard.java:254) at com.appcelerator.titanium.ui.wizard.BasicNewTitaniumProjectWizard.createNewProject(BasicNewTitaniumProjectWizard.java:300) at com.aptana.projects.wizards.AbstractNewProjectWizard$1.run(AbstractNewProjectWizard.java:249) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2345) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2327) at com.aptana.projects.wizards.AbstractNewProjectWizard.doCreateProject(AbstractNewProjectWizard.java:321) at com.aptana.projects.wizards.AbstractNewProjectWizard$2.run(AbstractNewProjectWizard.java:374) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
  9. Praveen Innamuri 2014-09-02

    [~pravipravi] Can you attach the diagnostic log file also from Help > Studio > View Diagnostic Info... ?
  10. Ingo Muschenetz 2014-09-08

    Can you please provide the file as requested? We'll be happy to reopen this and take another look.

JSON Source