Project: appceleratorstudio
Issue TISTUD-1576: Unable to package Android module on OSX
Prereqs Install Android SDK Install Android NDK Update settings in Titanium preferences Steps: 1. Create an android module project 2. Package the module Expected results Module is packaged Actual results: NPE in the AntRunner and this following error (Build 1.0.0.qualifier) [ERROR] /Users/nle/Library/Application Support/Titanium/mobilesdk/osx/2.0.1.v20120410131722/module/android/build.xml:228: exec returned: 2 org.eclipse.core.runtime.CoreException: /Users/nle/Library/Application Support/Titanium/mobilesdk/osx/2.0.1.v20120410131722/module/android/build.xml:228: exec returned: 2 org.eclipse.ant.core.AntRunner.handleInvocationTargetException(AntRunner.java:452) org.eclipse.ant.core.AntRunner.run(AntRunner.java:384) com.appcelerator.titanium.mobile.module.launching.AndroidModulePackageLaunchConfigurationDelegate$PackagingProcess$1.run(AndroidModulePackageLaunchConfigurationDelegate.java:241) org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Caused by: /Users/nle/Library/Application Support/Titanium/mobilesdk/osx/2.0.1.v20120410131722/module/android/build.xml:228: exec returned: 2 org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:636) org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:662) org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:487) org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:597) org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) org.apache.tools.ant.Task.perform(Task.java:348) org.apache.tools.ant.Target.execute(Target.java:357) org.apache.tools.ant.Target.performTasks(Target.java:385) org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337) org.apache.tools.ant.Project.executeTarget(Project.java:1306) org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) org.eclipse.ant.internal.core.ant.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32) org.apache.tools.ant.Project.executeTargets(Project.java:1189) org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:662) org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:495) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:597) org.eclipse.ant.core.AntRunner.run(AntRunner.java:378)
Story points: 13