Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2414] Android: Not able to run any application: 'build' is an unrecognized command

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionDuplicate
Resolution Date2013-09-17T20:48:31.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsn/a
ReporterVandana Ahuja
AssigneeMauro Parra-Miranda
Created2013-09-17T09:06:11.000+0000
Updated2016-03-08T07:41:27.000+0000

Description

On starting the sample app using Android emulator, its giving an error as:
 
Titanium Command-Line Interface, CLI version 3.1.2
[ERROR] "build" is an unrecognized command.
Copyright (c) 2012-2013, Appcelerator, Inc.  All Rights Reserved.
[ERROR] Application Installer abnormal process termination. Process exit value was 1

The content of log file for this action is 


!ENTRY com.aptana.core 4 0 2013-09-17 14:15:29.489
!MESSAGE (Build 3.1.2.201308091617) [ERROR]  Error cleaning the build before launching
!STACK 1
org.eclipse.core.runtime.CoreException: Error while invoking a synchronous builder
	at com.appcelerator.titanium.core.launching.TitaniumSingleProjectLaunchConfigurationDelegate.cleanBuild(TitaniumSingleProjectLaunchConfigurationDelegate.java:77)
	at com.appcelerator.titanium.mobile.ui.android.launch.AndroidSimulatorLaunchConfigurationDelegate.launch(AndroidSimulatorLaunchConfigurationDelegate.java:113)
	at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:854)
	at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)
	at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:937)
	at org.eclipse.debug.internal.ui.DebugUIPlugin$7.run(DebugUIPlugin.java:1023)
	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Caused by: java.lang.NoSuchMethodException: org.eclipse.core.internal.events.BuildManager.build(org.eclipse.core.internal.resources.BuildConfiguration, int, java.lang.String, java.util.Map, org.eclipse.core.runtime.IProgressMonitor)
	at java.lang.Class.getMethod(Unknown Source)
	at com.aptana.core.util.BuildUtil.syncBuild37(BuildUtil.java:117)
	at com.aptana.core.util.BuildUtil.syncBuild(BuildUtil.java:73)
	at com.appcelerator.titanium.core.launching.TitaniumSingleProjectLaunchConfigurationDelegate.cleanBuild(TitaniumSingleProjectLaunchConfigurationDelegate.java:73)
	... 6 more
!SUBENTRY 1 com.aptana.core 4 0 2013-09-17 14:15:29.489
!MESSAGE Error while invoking a synchronous builder
!STACK 0
java.lang.NoSuchMethodException: org.eclipse.core.internal.events.BuildManager.build(org.eclipse.core.internal.resources.BuildConfiguration, int, java.lang.String, java.util.Map, org.eclipse.core.runtime.IProgressMonitor)
	at java.lang.Class.getMethod(Unknown Source)
	at com.aptana.core.util.BuildUtil.syncBuild37(BuildUtil.java:117)
	at com.aptana.core.util.BuildUtil.syncBuild(BuildUtil.java:73)
	at com.appcelerator.titanium.core.launching.TitaniumSingleProjectLaunchConfigurationDelegate.cleanBuild(TitaniumSingleProjectLaunchConfigurationDelegate.java:73)
	at com.appcelerator.titanium.mobile.ui.android.launch.AndroidSimulatorLaunchConfigurationDelegate.launch(AndroidSimulatorLaunchConfigurationDelegate.java:113)
	at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:854)
	at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)
	at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:937)
	at org.eclipse.debug.internal.ui.DebugUIPlugin$7.run(DebugUIPlugin.java:1023)
	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

Comments

  1. Ingo Muschenetz 2013-09-17

    I believe this is a duplicate of TIMOB-11705. Can you please try the steps in that ticket to resolve?
  2. Mauro Parra-Miranda 2013-11-24

    DUP issue.

JSON Source