Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-5356

Android: when scrolling between pages scrollableView changes the object positions

    Details

      Description

      Problem

      When scrolling between pages, objects are move back without changing orientation device, according this snippet code. It looks like views are not being stack up or could be reset if device is rotated.

      Tested on

      LG Ally v2.2.1

      Reproduction steps

      1.) When the app it launches as portrait there are two views: red - yellow
      2.) Rotate to landscape, then rotate to portrait
      3.) Notice views has change to: yellow - red (at the bottom of the screen)
      4.) Now scroll to second page, and scroll back to previous page.
      5.) Noticed how the tiles are red - yellow now (it was expected to be yellow-red as device hasn't been rotated)
      

      Repro sequence

      app.js

      var win = Ti.UI.createWindow({
      	top : 0,
      	left : 0,
      	backgroundColor : 'black'
      });
       
      var center1 = {
      	'x' : 200,
      	'y' : 200
      };
      var center2 = {
      	'x' : 550,
      	'y' : 200
      };
      var center3 = {
      	'x' : 200,
      	'y' : 550
      };
      var center4 = {
      	'x' : 550,
      	'y' : 550
      };
       
      var zIndex = 1;
       
      var background = Ti.UI.createView({
      	backgroundColor : "#444444",
      });
       
      var viewArray = [];
       
      var view = Ti.UI.createView({
      	backgroundColor : 'red',
      	center : center1,
      	width : 300,
      	height : 300,
      	zIndex : zIndex,
      	home : center1,
      	favColor : 'red'
      });
       
      var view2 = Ti.UI.createView({
      	backgroundColor : 'yellow',
      	center : center2,
      	width : 300,
      	height : 300,
      	zIndex : zIndex,
      	home : center2,
      	favColor : 'yellow'
      });
       
      var view3 = Ti.UI.createView({
      	backgroundColor : 'green',
      	center : center3,
      	width : 300,
      	height : 300,
      	zIndex : zIndex,
      	home : center3,
      	favColor : 'green'
      });
       
      var view4 = Ti.UI.createView({
      	backgroundColor : 'blue',
      	center : center4,
      	width : 300,
      	height : 300,
      	zIndex : zIndex,
      	home : center4,
      	favColor : 'blue'
      });
      viewArray = [view, view2, view3, view4];
      var page1 = Ti.UI.createView({
      	top : 0,
      	bottom : 0,
      	left : 0,
      	right : 0,
      });
      var page2 = Ti.UI.createView({
      	top : 0,
      	bottom : 0,
      	left : 0,
      	right : 0,
      });
       
      page1.add(view);
      page1.add(view2);
      page2.add(view3);
      page2.add(view4);
       
      var scrollableView = Ti.UI.createScrollableView({
      	views : [page1, page2],
      	showPagingControl : true
      });
       
      Ti.Gesture.addEventListener('orientationchange', function(e) {
      	if(Ti.Platform.osname == 'android') {
      		if(e.orientation == Ti.UI.PORTRAIT || e.orientation == Ti.UI.UPSIDE_PORTRAIT) { 
      			animateBoxMovement(view, center4, 500);
      			animateBoxMovement(view2, center3, 500);
      			animateBoxMovement(view3, center2, 500);
      			animateBoxMovement(view4, center1, 500);
      		} else if(e.orientation == Ti.UI.LANDSCAPE_LEFT || e.orientation == Ti.UI.LANDSCAPE_RIGHT) { 
      			animateBoxMovement(view, center1, 500);
      			animateBoxMovement(view2, center2, 500);
      			animateBoxMovement(view3, center3, 500);
      			animateBoxMovement(view4, center4, 500);
      		}
      	} else {
      		if(e.orientation == Ti.UI.LANDSCAPE_LEFT || e.orientation == Ti.UI.LANDSCAPE_RIGHT) { 
      			animateBoxMovement(view, center4, 500);
      			animateBoxMovement(view2, center3, 500);
      			animateBoxMovement(view3, center2, 500);
      			animateBoxMovement(view4, center1, 500);
      		} else if(e.orientation == Ti.UI.PORTRAIT || e.orientation == Ti.UI.UPSIDE_PORTRAIT) { 
      			animateBoxMovement(view, center1, 500);
      			animateBoxMovement(view2, center2, 500);
      			animateBoxMovement(view3, center3, 500);
      			animateBoxMovement(view4, center4, 500);
      		}
      	}
       
      });
      function animateBoxMovement(view, newCenter, speed) {
      	if(view == null || newCenter == null) {
      		return;
      	}
       
      	if(speed == null) {
      		speed = 1000;
      	}
       
      	
      	var animation = Ti.UI.createAnimation({});
      	animation.center = newCenter;
      	animation.duration = speed;
      	view.animate(animation);
       
      }
       
      win.add(background);
      win.add(scrollableView);
       
      win.open();
      

      TiSDK 1.8 CI Build

      [INFO] logfile = /Users/egomez/Documents/Titanium Studio Workspace/T11629/build.log
      [DEBUG] /Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/builder.py install T11629 /Users/egomez/Documents/android-sdk-mac_x86 /Users/egomez/Documents/Titanium Studio Workspace/T11629 com.appcelerator.test 6
      [DEBUG] detected module analytics, path = /Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/modules/titanium-analytics.jar
      [DEBUG] detected module android, path = /Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/modules/titanium-android.jar
      [DEBUG] adding required library: titanium.jar
      [DEBUG] adding required library: ti-commons-codec-1.3.jar
      [DEBUG] adding required library: smalljs.jar
      [DEBUG] adding required library: jaxen-1.1.1.jar
      [DEBUG] detected module ui, path = /Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/modules/titanium-ui.jar
      [DEBUG] detected module app, path = /Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/modules/titanium-app.jar
      [DEBUG] detected module api, path = /Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/modules/titanium-api.jar
      [DEBUG] detected module filesystem, path = /Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/modules/titanium-filesystem.jar
      [DEBUG] detected module media, path = /Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/modules/titanium-media.jar
      [DEBUG] detected module json, path = /Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/modules/titanium-json.jar
      [DEBUG] detected module locale, path = /Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/modules/titanium-locale.jar
      [DEBUG] detected module platform, path = /Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/modules/titanium-platform.jar
      [DEBUG] detected module gesture, path = /Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/modules/titanium-gesture.jar
      [DEBUG] Detecting modules in /Users/egomez/Documents/Titanium Studio Workspace/T11629/modules
      [DEBUG] Detecting modules in /Library/Application Support/Titanium/modules
      [DEBUG] Detected module for android: com.codeboxed.imagegallery 0.1 @ /Library/Application Support/Titanium/modules/android/com.codeboxed.imagegallery/0.1
      [DEBUG] Detected module for android: com.mwaysolutions.barcode 0.2 @ /Library/Application Support/Titanium/modules/android/com.mwaysolutions.barcode/0.2
      [DEBUG] Detected module for android: ti.barcode 1.0 @ /Library/Application Support/Titanium/modules/android/ti.barcode/1.0
      [DEBUG] Detected module for android: ti.barcode 1.1 @ /Library/Application Support/Titanium/modules/android/ti.barcode/1.1
      [DEBUG] Detected module for android: ti.paypal 1.1 @ /Library/Application Support/Titanium/modules/android/ti.paypal/1.1
      [DEBUG] Detected module for android: ti.paypal 1.2 @ /Library/Application Support/Titanium/modules/android/ti.paypal/1.2
      [DEBUG] Detected module for android: ti.styledlabel 1.0 @ /Library/Application Support/Titanium/modules/android/ti.styledlabel/1.0
      [DEBUG] Detected module for iphone: com.bestfitmobile.sound 0.1 @ /Library/Application Support/Titanium/modules/iphone/com.bestfitmobile.sound/0.1
      [DEBUG] Detected module for iphone: com.test 0.1 @ /Library/Application Support/Titanium/modules/iphone/com.test/0.1
      [DEBUG] Detected module for iphone: ti.barcode 1.1 @ /Library/Application Support/Titanium/modules/iphone/ti.barcode/1.1
      [DEBUG] Detected module for iphone: ti.barcode 1.2 @ /Library/Application Support/Titanium/modules/iphone/ti.barcode/1.2
      [DEBUG] Detected module for iphone: ti.charts 1.0 @ /Library/Application Support/Titanium/modules/iphone/ti.charts/1.0
      [DEBUG] Detected module for iphone: ti.compression 0.1 @ /Library/Application Support/Titanium/modules/iphone/ti.compression/0.1
      [DEBUG] Detected module for iphone: ti.gamekit 1.0 @ /Library/Application Support/Titanium/modules/iphone/ti.gamekit/1.0
      [DEBUG] Detected module for iphone: ti.storekit 0.1 @ /Library/Application Support/Titanium/modules/iphone/ti.storekit/0.1
      [DEBUG] Detected module for iphone: ti.storekit 1.1 @ /Library/Application Support/Titanium/modules/iphone/ti.storekit/1.1
      [DEBUG] Detected module for iphone: ti.styledlabel 1.0 @ /Library/Application Support/Titanium/modules/iphone/ti.styledlabel/1.0
      [DEBUG] Detected module for iphone: ti.urbanairship 1.0 @ /Library/Application Support/Titanium/modules/iphone/ti.urbanairship/1.0
      [TRACE] Generating /Users/egomez/Documents/Titanium Studio Workspace/T11629/build/android/gen/com/appcelerator/test/T11629AppInfo.java
      [TRACE] Generating /Users/egomez/Documents/Titanium Studio Workspace/T11629/build/android/AndroidManifest.xml
      [TRACE] Generating /Users/egomez/Documents/Titanium Studio Workspace/T11629/build/android/gen/com/appcelerator/test/T11629Application.java
      [TRACE] Generating /Users/egomez/Documents/Titanium Studio Workspace/T11629/build/android/gen/com/appcelerator/test/T11629Activity.java
      [TRACE] Generating /Users/egomez/Documents/Titanium Studio Workspace/T11629/build/android/.classpath
      [TRACE] Generating /Users/egomez/Documents/Titanium Studio Workspace/T11629/build/android/.project
      [TRACE] Generating /Users/egomez/Documents/Titanium Studio Workspace/T11629/build/android/default.properties
      [TRACE] Generating /Users/egomez/Documents/Titanium Studio Workspace/T11629/build/android/.gitignore
      [INFO] Titanium SDK version: 1.8.0 (09/21/11 08:29 824f9b5...)
      [DEBUG] Waiting for device to be ready ...
      [TRACE] adb devices returned 1 devices/emulators
      [DEBUG] Device connected... (waited 0 seconds)
      [DEBUG] waited 0.106622 seconds on emulator to get ready
      [DEBUG] /Users/egomez/Documents/android-sdk-mac_x86/platform-tools/adb -d shell ls /data/app/com.appcelerator.test*.apk
      [DEBUG] com.appcelerator.test installed? False
      [INFO] Copying project resources..
      [INFO] Detected tiapp.xml change (or assets deleted), forcing full re-build...
      [TRACE] COPYING CREATED FILE: /Users/egomez/Documents/Titanium Studio Workspace/T11629/Resources/android/appicon.png => /Users/egomez/Documents/Titanium Studio Workspace/T11629/build/android/bin/assets/Resources/appicon.png
      [TRACE] COPYING CREATED FILE: /Users/egomez/Documents/Titanium Studio Workspace/T11629/Resources/android/default.png => /Users/egomez/Documents/Titanium Studio Workspace/T11629/build/android/bin/assets/Resources/default.png
      [TRACE] COPYING CREATED FILE: /Users/egomez/Documents/Titanium Studio Workspace/T11629/Resources/app.js => /Users/egomez/Documents/Titanium Studio Workspace/T11629/build/android/bin/assets/Resources/app.js
      [TRACE] COPYING CREATED FILE: /Users/egomez/Documents/Titanium Studio Workspace/T11629/Resources/KS_nav_ui.png => /Users/egomez/Documents/Titanium Studio Workspace/T11629/build/android/bin/assets/Resources/KS_nav_ui.png
      [TRACE] COPYING CREATED FILE: /Users/egomez/Documents/Titanium Studio Workspace/T11629/Resources/KS_nav_views.png => /Users/egomez/Documents/Titanium Studio Workspace/T11629/build/android/bin/assets/Resources/KS_nav_views.png
      [TRACE] COPYING CREATED FILE: /Users/egomez/Documents/Titanium Studio Workspace/T11629/Resources/swipe.js => /Users/egomez/Documents/Titanium Studio Workspace/T11629/build/android/bin/assets/Resources/swipe.js
      [TRACE] Generating Java Classes
      [DEBUG] detected module analytics, path = /Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/modules/titanium-analytics.jar
      [DEBUG] detected module android, path = /Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/modules/titanium-android.jar
      [DEBUG] adding required library: titanium.jar
      [DEBUG] adding required library: ti-commons-codec-1.3.jar
      [DEBUG] adding required library: smalljs.jar
      [DEBUG] adding required library: jaxen-1.1.1.jar
      [DEBUG] detected module ui, path = /Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/modules/titanium-ui.jar
      [DEBUG] detected module app, path = /Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/modules/titanium-app.jar
      [DEBUG] detected module api, path = /Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/modules/titanium-api.jar
      [DEBUG] detected module filesystem, path = /Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/modules/titanium-filesystem.jar
      [DEBUG] detected module media, path = /Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/modules/titanium-media.jar
      [DEBUG] detected module json, path = /Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/modules/titanium-json.jar
      [DEBUG] detected module locale, path = /Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/modules/titanium-locale.jar
      [DEBUG] detected module platform, path = /Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/modules/titanium-platform.jar
      [DEBUG] detected module gesture, path = /Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/modules/titanium-gesture.jar
      [DEBUG] Detecting modules in /Users/egomez/Documents/Titanium Studio Workspace/T11629/modules
      [DEBUG] Detecting modules in /Library/Application Support/Titanium/modules
      [DEBUG] Detected module for android: com.codeboxed.imagegallery 0.1 @ /Library/Application Support/Titanium/modules/android/com.codeboxed.imagegallery/0.1
      [DEBUG] Detected module for android: com.mwaysolutions.barcode 0.2 @ /Library/Application Support/Titanium/modules/android/com.mwaysolutions.barcode/0.2
      [DEBUG] Detected module for android: ti.barcode 1.0 @ /Library/Application Support/Titanium/modules/android/ti.barcode/1.0
      [DEBUG] Detected module for android: ti.barcode 1.1 @ /Library/Application Support/Titanium/modules/android/ti.barcode/1.1
      [DEBUG] Detected module for android: ti.paypal 1.1 @ /Library/Application Support/Titanium/modules/android/ti.paypal/1.1
      [DEBUG] Detected module for android: ti.paypal 1.2 @ /Library/Application Support/Titanium/modules/android/ti.paypal/1.2
      [DEBUG] Detected module for android: ti.styledlabel 1.0 @ /Library/Application Support/Titanium/modules/android/ti.styledlabel/1.0
      [DEBUG] Detected module for iphone: com.bestfitmobile.sound 0.1 @ /Library/Application Support/Titanium/modules/iphone/com.bestfitmobile.sound/0.1
      [DEBUG] Detected module for iphone: com.test 0.1 @ /Library/Application Support/Titanium/modules/iphone/com.test/0.1
      [DEBUG] Detected module for iphone: ti.barcode 1.1 @ /Library/Application Support/Titanium/modules/iphone/ti.barcode/1.1
      [DEBUG] Detected module for iphone: ti.barcode 1.2 @ /Library/Application Support/Titanium/modules/iphone/ti.barcode/1.2
      [DEBUG] Detected module for iphone: ti.charts 1.0 @ /Library/Application Support/Titanium/modules/iphone/ti.charts/1.0
      [DEBUG] Detected module for iphone: ti.compression 0.1 @ /Library/Application Support/Titanium/modules/iphone/ti.compression/0.1
      [DEBUG] Detected module for iphone: ti.gamekit 1.0 @ /Library/Application Support/Titanium/modules/iphone/ti.gamekit/1.0
      [DEBUG] Detected module for iphone: ti.storekit 0.1 @ /Library/Application Support/Titanium/modules/iphone/ti.storekit/0.1
      [DEBUG] Detected module for iphone: ti.storekit 1.1 @ /Library/Application Support/Titanium/modules/iphone/ti.storekit/1.1
      [DEBUG] Detected module for iphone: ti.styledlabel 1.0 @ /Library/Application Support/Titanium/modules/iphone/ti.styledlabel/1.0
      [DEBUG] Detected module for iphone: ti.urbanairship 1.0 @ /Library/Application Support/Titanium/modules/iphone/ti.urbanairship/1.0
      [TRACE] Generating /Users/egomez/Documents/Titanium Studio Workspace/T11629/build/android/gen/com/appcelerator/test/T11629AppInfo.java
      [TRACE] Generating /Users/egomez/Documents/Titanium Studio Workspace/T11629/build/android/AndroidManifest.xml
      [TRACE] Generating /Users/egomez/Documents/Titanium Studio Workspace/T11629/build/android/gen/com/appcelerator/test/T11629Application.java
      [TRACE] Generating /Users/egomez/Documents/Titanium Studio Workspace/T11629/build/android/gen/com/appcelerator/test/T11629Activity.java
      [TRACE] Generating /Users/egomez/Documents/Titanium Studio Workspace/T11629/build/android/.classpath
      [TRACE] Generating /Users/egomez/Documents/Titanium Studio Workspace/T11629/build/android/.project
      [TRACE] Generating /Users/egomez/Documents/Titanium Studio Workspace/T11629/build/android/default.properties
      [TRACE] Skipping copying gitignore -> .gitignore because already exists
      [DEBUG] detected module analytics, path = /Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/modules/titanium-analytics.jar
      [DEBUG] detected module android, path = /Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/modules/titanium-android.jar
      [DEBUG] adding required library: titanium.jar
      [DEBUG] adding required library: ti-commons-codec-1.3.jar
      [DEBUG] adding required library: smalljs.jar
      [DEBUG] adding required library: jaxen-1.1.1.jar
      [DEBUG] detected module ui, path = /Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/modules/titanium-ui.jar
      [DEBUG] detected module app, path = /Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/modules/titanium-app.jar
      [DEBUG] detected module api, path = /Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/modules/titanium-api.jar
      [DEBUG] detected module filesystem, path = /Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/modules/titanium-filesystem.jar
      [DEBUG] detected module media, path = /Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/modules/titanium-media.jar
      [DEBUG] detected module json, path = /Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/modules/titanium-json.jar
      [DEBUG] detected module locale, path = /Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/modules/titanium-locale.jar
      [INFO] Compiling Javascript Resources ...
      [DEBUG] detected module platform, path = /Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/modules/titanium-platform.jar
      [DEBUG] detected module gesture, path = /Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/modules/titanium-gesture.jar
      [DEBUG] Processing Android resource drawables
      [DEBUG] Detecting modules in /Users/egomez/Documents/Titanium Studio Workspace/T11629/modules
      [DEBUG] Detecting modules in /Library/Application Support/Titanium/modules
      [DEBUG] Detected module for android: com.codeboxed.imagegallery 0.1 @ /Library/Application Support/Titanium/modules/android/com.codeboxed.imagegallery/0.1
      [DEBUG] Detected module for android: com.mwaysolutions.barcode 0.2 @ /Library/Application Support/Titanium/modules/android/com.mwaysolutions.barcode/0.2
      [DEBUG] Detected module for android: ti.barcode 1.0 @ /Library/Application Support/Titanium/modules/android/ti.barcode/1.0
      [DEBUG] Detected module for android: ti.barcode 1.1 @ /Library/Application Support/Titanium/modules/android/ti.barcode/1.1
      [DEBUG] Detected module for android: ti.paypal 1.1 @ /Library/Application Support/Titanium/modules/android/ti.paypal/1.1
      [DEBUG] Detected module for android: ti.paypal 1.2 @ /Library/Application Support/Titanium/modules/android/ti.paypal/1.2
      [DEBUG] Detected module for android: ti.styledlabel 1.0 @ /Library/Application Support/Titanium/modules/android/ti.styledlabel/1.0
      [DEBUG] Detected module for iphone: com.bestfitmobile.sound 0.1 @ /Library/Application Support/Titanium/modules/iphone/com.bestfitmobile.sound/0.1
      [DEBUG] Detected module for iphone: com.test 0.1 @ /Library/Application Support/Titanium/modules/iphone/com.test/0.1
      [DEBUG] Detected module for iphone: ti.barcode 1.1 @ /Library/Application Support/Titanium/modules/iphone/ti.barcode/1.1
      [DEBUG] Detected module for iphone: ti.barcode 1.2 @ /Library/Application Support/Titanium/modules/iphone/ti.barcode/1.2
      [DEBUG] Detected module for iphone: ti.charts 1.0 @ /Library/Application Support/Titanium/modules/iphone/ti.charts/1.0
      [DEBUG] Detected module for iphone: ti.compression 0.1 @ /Library/Application Support/Titanium/modules/iphone/ti.compression/0.1
      [DEBUG] Detected module for iphone: ti.gamekit 1.0 @ /Library/Application Support/Titanium/modules/iphone/ti.gamekit/1.0
      [DEBUG] Detected module for iphone: ti.storekit 0.1 @ /Library/Application Support/Titanium/modules/iphone/ti.storekit/0.1
      [DEBUG] Detected module for iphone: ti.storekit 1.1 @ /Library/Application Support/Titanium/modules/iphone/ti.storekit/1.1
      [DEBUG] Detected module for iphone: ti.styledlabel 1.0 @ /Library/Application Support/Titanium/modules/iphone/ti.styledlabel/1.0
      [DEBUG] Detected module for iphone: ti.urbanairship 1.0 @ /Library/Application Support/Titanium/modules/iphone/ti.urbanairship/1.0
      [DEBUG] app stylesheet => /Users/egomez/Documents/Titanium Studio Workspace/T11629/build/android/gen/com/appcelerator/test/ApplicationStylesheet.java
      [DEBUG] copying app icon: /Users/egomez/Documents/Titanium Studio Workspace/T11629/build/android/bin/assets/Resources/appicon.png
      [DEBUG] generating theme.xml
      [DEBUG] found drawable-long-land-hdpi splash screen at /Users/egomez/Documents/Titanium Studio Workspace/T11629/Resources/android/images/res-long-land-hdpi/default.png
      [DEBUG] copying /Users/egomez/Documents/Titanium Studio Workspace/T11629/Resources/android/images/res-long-land-hdpi/default.png splash screen to /Users/egomez/Documents/Titanium Studio Workspace/T11629/build/android/res/drawable-long-land-hdpi/background.png
      [DEBUG] found drawable-long-land-ldpi splash screen at /Users/egomez/Documents/Titanium Studio Workspace/T11629/Resources/android/images/res-long-land-ldpi/default.png
      [DEBUG] copying /Users/egomez/Documents/Titanium Studio Workspace/T11629/Resources/android/images/res-long-land-ldpi/default.png splash screen to /Users/egomez/Documents/Titanium Studio Workspace/T11629/build/android/res/drawable-long-land-ldpi/background.png
      [DEBUG] found drawable-long-port-hdpi splash screen at /Users/egomez/Documents/Titanium Studio Workspace/T11629/Resources/android/images/res-long-port-hdpi/default.png
      [DEBUG] copying /Users/egomez/Documents/Titanium Studio Workspace/T11629/Resources/android/images/res-long-port-hdpi/default.png splash screen to /Users/egomez/Documents/Titanium Studio Workspace/T11629/build/android/res/drawable-long-port-hdpi/background.png
      [DEBUG] found drawable-long-port-ldpi splash screen at /Users/egomez/Documents/Titanium Studio Workspace/T11629/Resources/android/images/res-long-port-ldpi/default.png
      [DEBUG] copying /Users/egomez/Documents/Titanium Studio Workspace/T11629/Resources/android/images/res-long-port-ldpi/default.png splash screen to /Users/egomez/Documents/Titanium Studio Workspace/T11629/build/android/res/drawable-long-port-ldpi/background.png
      [DEBUG] found drawable-notlong-land-hdpi splash screen at /Users/egomez/Documents/Titanium Studio Workspace/T11629/Resources/android/images/res-notlong-land-hdpi/default.png
      [DEBUG] copying /Users/egomez/Documents/Titanium Studio Workspace/T11629/Resources/android/images/res-notlong-land-hdpi/default.png splash screen to /Users/egomez/Documents/Titanium Studio Workspace/T11629/build/android/res/drawable-notlong-land-hdpi/background.png
      [DEBUG] found drawable-notlong-land-ldpi splash screen at /Users/egomez/Documents/Titanium Studio Workspace/T11629/Resources/android/images/res-notlong-land-ldpi/default.png
      [DEBUG] copying /Users/egomez/Documents/Titanium Studio Workspace/T11629/Resources/android/images/res-notlong-land-ldpi/default.png splash screen to /Users/egomez/Documents/Titanium Studio Workspace/T11629/build/android/res/drawable-notlong-land-ldpi/background.png
      [DEBUG] found drawable-notlong-land-mdpi splash screen at /Users/egomez/Documents/Titanium Studio Workspace/T11629/Resources/android/images/res-notlong-land-mdpi/default.png
      [DEBUG] copying /Users/egomez/Documents/Titanium Studio Workspace/T11629/Resources/android/images/res-notlong-land-mdpi/default.png splash screen to /Users/egomez/Documents/Titanium Studio Workspace/T11629/build/android/res/drawable-notlong-land-mdpi/background.png
      [DEBUG] found drawable-notlong-port-hdpi splash screen at /Users/egomez/Documents/Titanium Studio Workspace/T11629/Resources/android/images/res-notlong-port-hdpi/default.png
      [DEBUG] copying /Users/egomez/Documents/Titanium Studio Workspace/T11629/Resources/android/images/res-notlong-port-hdpi/default.png splash screen to /Users/egomez/Documents/Titanium Studio Workspace/T11629/build/android/res/drawable-notlong-port-hdpi/background.png
      [DEBUG] found drawable-notlong-port-ldpi splash screen at /Users/egomez/Documents/Titanium Studio Workspace/T11629/Resources/android/images/res-notlong-port-ldpi/default.png
      [DEBUG] copying /Users/egomez/Documents/Titanium Studio Workspace/T11629/Resources/android/images/res-notlong-port-ldpi/default.png splash screen to /Users/egomez/Documents/Titanium Studio Workspace/T11629/build/android/res/drawable-notlong-port-ldpi/background.png
      [DEBUG] found drawable-notlong-port-mdpi splash screen at /Users/egomez/Documents/Titanium Studio Workspace/T11629/Resources/android/images/res-notlong-port-mdpi/default.png
      [DEBUG] copying /Users/egomez/Documents/Titanium Studio Workspace/T11629/Resources/android/images/res-notlong-port-mdpi/default.png splash screen to /Users/egomez/Documents/Titanium Studio Workspace/T11629/build/android/res/drawable-notlong-port-mdpi/background.png
      [DEBUG] found splash screen at /Users/egomez/Documents/Titanium Studio Workspace/T11629/build/android/bin/assets/Resources/default.png
      [TRACE] Writing out AndroidManifest.xml
      [DEBUG] /Users/egomez/Documents/android-sdk-mac_x86/platform-tools/aapt package -m -J "/Users/egomez/Documents/Titanium Studio Workspace/T11629/build/android/gen" -M "/Users/egomez/Documents/Titanium Studio Workspace/T11629/build/android/AndroidManifest.xml" -S "/Users/egomez/Documents/Titanium Studio Workspace/T11629/build/android/res" -I /Users/egomez/Documents/android-sdk-mac_x86/platforms/android-7/android.jar
      [DEBUG] adding /Users/egomez/Documents/Titanium Studio Workspace/T11629/build/android/gen/com/appcelerator/test/ApplicationStylesheet.java to javac build list
      [DEBUG] adding /Users/egomez/Documents/Titanium Studio Workspace/T11629/build/android/gen/com/appcelerator/test/R.java to javac build list
      [DEBUG] adding /Users/egomez/Documents/Titanium Studio Workspace/T11629/build/android/gen/com/appcelerator/test/T11629Activity.java to javac build list
      [DEBUG] adding /Users/egomez/Documents/Titanium Studio Workspace/T11629/build/android/gen/com/appcelerator/test/T11629AppInfo.java to javac build list
      [DEBUG] adding /Users/egomez/Documents/Titanium Studio Workspace/T11629/build/android/gen/com/appcelerator/test/T11629Application.java to javac build list
      [DEBUG] Building Java Sources: "/Users/egomez/Documents/Titanium Studio Workspace/T11629/build/android/gen/com/appcelerator/test/ApplicationStylesheet.java" "/Users/egomez/Documents/Titanium Studio Workspace/T11629/build/android/gen/com/appcelerator/test/R.java" "/Users/egomez/Documents/Titanium Studio Workspace/T11629/build/android/gen/com/appcelerator/test/T11629Activity.java" "/Users/egomez/Documents/Titanium Studio Workspace/T11629/build/android/gen/com/appcelerator/test/T11629AppInfo.java" "/Users/egomez/Documents/Titanium Studio Workspace/T11629/build/android/gen/com/appcelerator/test/T11629Application.java"
      [DEBUG] javac -encoding utf8 -classpath "/Users/egomez/Documents/android-sdk-mac_x86/platforms/android-7/android.jar:/Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/modules/titanium-app.jar:/Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/smalljs.jar:/Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/modules/titanium-filesystem.jar:/Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/modules/titanium-locale.jar:/Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/modules/titanium-media.jar:/Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/modules/titanium-api.jar:/Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/titanium.jar:/Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/jaxen-1.1.1.jar:/Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/modules/titanium-gesture.jar:/Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/modules/titanium-platform.jar:/Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/modules/titanium-json.jar:/Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/modules/titanium-analytics.jar:/Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/modules/titanium-android.jar:/Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/modules/titanium-ui.jar:/Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/ti-commons-codec-1.3.jar:/Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/lib/titanium-verify.jar:/Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/lib/titanium-debug.jar" -d "/Users/egomez/Documents/Titanium Studio Workspace/T11629/build/android/bin/classes" -proc:none -sourcepath "/Users/egomez/Documents/Titanium Studio Workspace/T11629/build/android/src" -sourcepath "/Users/egomez/Documents/Titanium Studio Workspace/T11629/build/android/gen" @/var/folders/0F/0FgVEKWSGKuovefbgXwRj++++TI/-Tmp-/tmp9Wi9yn
      [INFO] Compiling Android Resources... This could take some time
      [DEBUG] /Users/egomez/Documents/android-sdk-mac_x86/platform-tools/dx -JXmx1536M -JXX:-UseGCOverheadLimit --dex "--output=/Users/egomez/Documents/Titanium Studio Workspace/T11629/build/android/bin/classes.dex" "/Users/egomez/Documents/Titanium Studio Workspace/T11629/build/android/bin/classes" "/Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/modules/titanium-app.jar" "/Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/modules/titanium-filesystem.jar" "/Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/modules/titanium-locale.jar" "/Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/modules/titanium-media.jar" "/Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/modules/titanium-api.jar" "/Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/titanium.jar" "/Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/jaxen-1.1.1.jar" "/Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/modules/titanium-gesture.jar" "/Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/modules/titanium-platform.jar" "/Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/modules/titanium-json.jar" "/Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/modules/titanium-analytics.jar" "/Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/modules/titanium-android.jar" "/Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/modules/titanium-ui.jar" "/Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/ti-commons-codec-1.3.jar" "/Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/lib/titanium-verify.jar" "/Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/lib/titanium-debug.jar" "/Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/modules/titanium-network.jar" "/Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/js-debug.jar"
      [DEBUG] Android classes.dex built
      [DEBUG] /Users/egomez/Documents/android-sdk-mac_x86/platform-tools/aapt package -f -M AndroidManifest.xml -A "/Users/egomez/Documents/Titanium Studio Workspace/T11629/build/android/bin/assets" -S res -I /Users/egomez/Documents/android-sdk-mac_x86/platforms/android-7/android.jar -I "/Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/titanium.jar" -F "/Users/egomez/Documents/Titanium Studio Workspace/T11629/build/android/bin/app.ap_"
      [DEBUG] creating unsigned apk: /Users/egomez/Documents/Titanium Studio Workspace/T11629/build/android/bin/app-unsigned.apk
      [DEBUG] from resource zip => assets/Resources/KS_nav_ui.png
      [DEBUG] from resource zip => assets/Resources/KS_nav_views.png
      [DEBUG] from resource zip => assets/Resources/app.js
      [DEBUG] from resource zip => assets/Resources/appicon.png
      [DEBUG] from resource zip => assets/Resources/default.png
      [DEBUG] from resource zip => assets/Resources/swipe.js
      [DEBUG] from resource zip => assets/tiapp.xml
      [DEBUG] from resource zip => res/drawable/appicon.png
      [DEBUG] from resource zip => res/drawable/background.png
      [DEBUG] from resource zip => res/layout/titanium_tabgroup.xml
      [DEBUG] from resource zip => AndroidManifest.xml
      [DEBUG] from resource zip => resources.arsc
      [DEBUG] from resource zip => res/drawable-long-land-hdpi/background.png
      [DEBUG] from resource zip => res/drawable-long-land-ldpi/background.png
      [DEBUG] from resource zip => res/drawable-long-port-hdpi/background.png
      [DEBUG] from resource zip => res/drawable-long-port-ldpi/background.png
      [DEBUG] from resource zip => res/drawable-notlong-land-hdpi/background.png
      [DEBUG] from resource zip => res/drawable-notlong-land-ldpi/background.png
      [DEBUG] from resource zip => res/drawable-notlong-land-mdpi/background.png
      [DEBUG] from resource zip => res/drawable-notlong-port-hdpi/background.png
      [DEBUG] from resource zip => res/drawable-notlong-port-ldpi/background.png
      [DEBUG] from resource zip => res/drawable-notlong-port-mdpi/background.png
      [DEBUG] from JAR /Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/smalljs.jar => org/mozilla/javascript/resources/Messages.properties
      [DEBUG] from JAR /Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/smalljs.jar => org/mozilla/javascript/resources/Messages_fr.properties
      [DEBUG] from JAR /Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/titanium.jar => org/apache/Commons-NOTICE.txt
      [DEBUG] from JAR /Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/titanium.jar => org/apache/HttpComponents-NOTICE.txt
      [DEBUG] from JAR /Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/titanium.jar => org/apache/mime4j-NOTICE.txt
      [DEBUG] from JAR /Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/titanium.jar => org/appcelerator/titanium/build.properties
      [DEBUG] from JAR /Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/titanium.jar => org/appcelerator/titanium/res/drawable/background.png
      [DEBUG] from JAR /Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/titanium.jar => org/appcelerator/titanium/res/drawable/btn_check_buttonless_on.png
      [DEBUG] from JAR /Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/titanium.jar => org/appcelerator/titanium/res/drawable/btn_check_buttonless_on_18.png
      [DEBUG] from JAR /Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/titanium.jar => org/appcelerator/titanium/res/drawable/btn_check_buttonless_on_48.png
      [DEBUG] from JAR /Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/titanium.jar => org/appcelerator/titanium/res/drawable/btn_more.png
      [DEBUG] from JAR /Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/titanium.jar => org/appcelerator/titanium/res/drawable/btn_more_18.png
      [DEBUG] from JAR /Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/titanium.jar => org/appcelerator/titanium/res/drawable/btn_more_48.png
      [DEBUG] from JAR /Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/titanium.jar => org/appcelerator/titanium/res/drawable/btn_picker_normal.9.png
      [DEBUG] from JAR /Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/titanium.jar => org/appcelerator/titanium/res/drawable/btn_picker_pressed.9.png
      [DEBUG] from JAR /Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/titanium.jar => org/appcelerator/titanium/res/drawable/btn_picker_selected.9.png
      [DEBUG] from JAR /Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/titanium.jar => org/appcelerator/titanium/res/drawable/default_icon.png
      [DEBUG] from JAR /Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/titanium.jar => org/appcelerator/titanium/res/drawable/photoDefault.png
      [DEBUG] from JAR /Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/modules/titanium-ui.jar => ti/modules/titanium/ui/widget/webview/binding.js
      [DEBUG] from JAR /Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/modules/titanium-ui.jar => ti/modules/titanium/ui/widget/webview/binding.min.js
      [DEBUG] from JAR /Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/modules/titanium-ui.jar => ti/modules/titanium/ui/widget/webview/json2.js
      [DEBUG] jarsigner -storepass tirocks -keystore "/Library/Application Support/Titanium/mobilesdk/osx/1.8.0.v20110921082948/android/dev_keystore" -signedjar "/Users/egomez/Documents/Titanium Studio Workspace/T11629/build/android/bin/app.apk" "/Users/egomez/Documents/Titanium Studio Workspace/T11629/build/android/bin/app-unsigned.apk" tidev
      [DEBUG] /Users/egomez/Documents/android-sdk-mac_x86/tools/zipalign -v 4 "/Users/egomez/Documents/Titanium Studio Workspace/T11629/build/android/bin/app.apk" "/Users/egomez/Documents/Titanium Studio Workspace/T11629/build/android/bin/app.apkz"
      [DEBUG] /Users/egomez/Documents/android-sdk-mac_x86/platform-tools/adb -d get-state
      [DEBUG] Waiting for device to be ready ...
      [TRACE] adb devices returned 1 devices/emulators
      [DEBUG] Device connected... (waited 0 seconds)
      [DEBUG] waited 0.008425 seconds on emulator to get ready
      [INFO] Installing application on emulator
      [DEBUG] /Users/egomez/Documents/android-sdk-mac_x86/platform-tools/adb -d install -r "/Users/egomez/Documents/Titanium Studio Workspace/T11629/build/android/bin/app.apk"
      [INFO] Application installed. Launch from drawer on Home Screen
      

      Associated HD ticket

      http://appc.me/c/APP-918948

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                billdawson Bill Dawson
                Reporter:
                egomez Eduardo Gomez (Inactive)
              • Watchers:
                0 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-4538
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Integration