android - Project not building in Titanium -


i made project in titanium, table. when tried run project on phone, failed saying "[error] application installer abnormal process termination. process exit value 1".

it seems have error in processing of javascript.

this got debug:

traceback (most recent call last):   file "c:\users\prodigy sml\appdata\roaming\titanium\mobilesdk\win32\3.2.2.ga\android\builder.py", line 2497, in <module>     launch_logcat()   file "c:\users\prodigy sml\appdata\roaming\titanium\mobilesdk\win32\3.2.2.ga\android\builder.py", line 124, in launch_logcat     adb_location = androidsdk(android_sdk_location).get_adb()   file "c:\users\prodigy sml\appdata\roaming\titanium\mobilesdk\win32\3.2.2.ga\android\androidsdk.py", line 49, in __init__     self.set_api_level(api_level)   file "c:\users\prodigy sml\appdata\roaming\titanium\mobilesdk\win32\3.2.2.ga\android\androidsdk.py", line 53, in set_api_level     self.find_platform_dir()   file "c:\users\prodigy sml\appdata\roaming\titanium\mobilesdk\win32\3.2.2.ga\android\androidsdk.py", line 131, in find_platform_dir     raise exception("no \"%s\" or \"%s\" in android sdk" % ('android-%s' % api_level, android_api_levels[api_level])) exception: no "android-10" or "android-2.3.3" in android sdk 

below, can find code using in main .js file:

    // sets background color of master uiview (when there no windows/tabgroups on it) titanium.ui.setbackgroundcolor('#000');  // create tab group var tabgroup = titanium.ui.createtabgroup();   // // create base ui tab , root window // var win1 = titanium.ui.createwindow({       title:'categories screen',     backgroundcolor:'#fff' }); var tab1 = titanium.ui.createtab({       icon:'ks_nav_views.png',     title:'categories screen',     window:win1 });  var label1 = titanium.ui.createlabel({     color:'#999',     text:'categories screen',     font:{fontsize:20,fontfamily:'helvetica neue'},     textalign:'center',     width:'auto' });  win1.add(label1);  var data = [     {title:"art", haschild:true, dest:'artcategory.js'} ];  var table = ti.ui.createtableview({     data: data,     editable:'false',     moving:'false' });  table.addeventlistener('click', function(e){     if(e.rowdata.haschild){         var newwin = ti.ui.createwindow({             url: e.rowdata.dest,             title: e.rowdata.title,             backgroundcolor: '#fff'         });         tab1.open(newwin);     } });  var view = ti.ui.createview();  var editbutton = ti.ui.createbutton({     title: "edit" });  var donebutton = ti.ui.createbutton({     title: "done" });  editbutton.addeventlistener('click', function(e){     table.moving = 'true';     table.editing = 'true';     self.rightnavbutton = donebutton; });  donebutton.addeventlistener('click', function(e){     table.moving = 'false';     table.editing = 'false';     self.rightnavbutton = editbutton; });  self.rightnavbutton = editbutton; self.add(table); return self;  win1.open;   // //  add tabs // tabgroup.addtab(tab1);     // open tab group tabgroup.open();  

could please me out, , tell me problem is, , how fix it!


Comments

Popular posts from this blog

c++ - How to add Crypto++ library to Qt project -

jQuery Mobile app not scrolling in Firefox -

How to use vim as editor in Matlab GUI -