Titanium JIRA Archive
Appcelerator Community (AC)

[AC-1874] Getting error while running the sample application in Titanium studio

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionCannot Reproduce
Resolution Date2013-02-22T02:42:59.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterB Ram
AssigneeCarter Lathrop
Created2013-02-21T11:34:14.000+0000
Updated2016-03-08T07:40:47.000+0000

Description

Hi Team, I have created one sample application (without any code changes) and it runs perfectly fine with option "Mobile Web Preview in Browser". But when i try to run it with "Android Emulator" option, getting below error.. [ERROR] Application Installer abnormal process termination. Process exit value was 1 [INFO] logfile = D:\Titanium Projects\HelloWord\build.log I am using Titanium SDK: 3.0.0.GA and Java Version "1.6.0_21" Java(TM) SE Runtime Environment (build 1.6.0_21-b07) Java HotSpot(TM) Client VM (build 17.0-b17, mixed mode, sharing) The trace of the error is : [DEBUG] D:\Titanium\mobilesdk-3.0.0.GA-win32\mobilesdk\win32\3.0.0.GA\android\builder.py simulator HelloWord D:\Titanium\android-sdk-windows\android-sdk-windows\android-sdk-windows D:\Titanium Projects\HelloWord com.example.helloword 13 WVGA854 Traceback (most recent call last): File "D:\Titanium\mobilesdk-3.0.0.GA-win32\mobilesdk\win32\3.0.0.GA\android\builder.py", line 2324, in builder = Builder(project_name,sdk_dir,project_dir,template_dir,app_id) File "D:\Titanium\mobilesdk-3.0.0.GA-win32\mobilesdk\win32\3.0.0.GA\android\builder.py", line 355, in __init__ self.set_java_commands() File "D:\Titanium\mobilesdk-3.0.0.GA-win32\mobilesdk\win32\3.0.0.GA\android\builder.py", line 399, in set_java_commands commands = java.find_java_commands() File "D:\Titanium\mobilesdk-3.0.0.GA-win32\mobilesdk\win32\3.0.0.GA\android\java.py", line 61, in find_java_commands java_home = os.path.dirname(os.path.dirname(self.javac)) NameError: global name 'self' is not defined Please help me to resolve the issue. Thanks,

Comments

  1. Carter Lathrop 2013-02-22

    Hello, Please take a look at this link to help you: http://developer.appcelerator.com/question/140526/solution-application-installer-abnormal-process-termination Have you installed all the necessary APIs for android? Regards, Carter
  2. B Ram 2013-02-22

    HI, I have installed android-sdk-windows, do i need do install anything else.
  3. Carter Lathrop 2013-02-26

    Please read the quick start guide, located here: https://wiki.appcelerator.org/display/guides/Quick+Start You need to install xCode as well as the Android SDKs. All the information you need is located in the guide provided. Regards, Carter

JSON Source