Titanium JIRA Archive
Appcelerator Community (AC)

[AC-1266] Latest Android SDK breaks Picker

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionCannot Reproduce
Resolution Date2015-09-15T03:41:37.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
LabelsTCSupportTriage, android
ReporterMichael Labieniec
AssigneeShak Hossain
Created2014-07-01T14:18:34.000+0000
Updated2016-03-08T07:37:39.000+0000

Description

After updating the Android SDK (which contains the 'L' preview release) I am no longer able to use the Picker. It throws a V8Exception: E/V8Exception( 7436): Exception occurred at alloy/controllers/damagedTicket.js:102: Uncaught ReferenceError: entryDate is not defined The line is an alloy generated code to look up the picker id in the compiled file. I've tried Titanium 3.2.2.GA and 3.2.3.GA and same issue occurs.

Comments

  1. Mauro Parra-Miranda 2014-07-02

    Hello! Did you test in device or emulator? Best, Mauro
  2. Michael Labieniec 2014-07-07

    Hello, I am using a device running AOSP 4.0.1 Best, Michael
  3. Mauro Parra-Miranda 2014-07-07

    Hello [~mlabieniec]! We need more info: - Device maker - DEvice model - Android Version - Is it stock android? Best Regards
  4. Michael Labieniec 2014-07-07

    Hello, This is a custom built embedded device we manufacture, it is running stock AOSP 4.0 (ics). Everything has been working well until the last SDK update, where I also ran into the zipalign issue as well.
  5. Mauro Parra-Miranda 2014-12-12

    [~mlabieniec]: Does this still happens with the Mobile SDK 3.4.1? Best Regards
  6. Rakhi Mitro 2015-08-24

    Hello , We have tested this issue. Its working as expected. *Test Environments:* CLI Version = 4.0.1 Titanium SDK Version = 4.1.0.GA Android: Google Galaxy Nexus - 4.1.1 - API 16 - 720x1280 Appc Studio: Appcelerator Studio, build: 4.1.1.201507141126 Alloy: 1.7.3 Device: Nexus 7,Android Version-5.1.1 *Test code:* *index.xml*
       
       <Alloy>
       
           <Window backgroundColor="blue">
       
               <Picker id="picker"
       
                 onChange="report"
       
                 type="Ti.UI.PICKER_TYPE_DATE"
       
                 minDate="2014,4,1"
       
                 maxDate="May 1, 2014 12:00:00"
       
                 value="2014-04-15T12:00:00">
       
               </Picker>
       
           </Window>
       
       </Alloy>
       
       
    *index.js*
       function report(e) {
           Ti.API.info('User selected: ' + e.value);
       }
       
       $.index.open();
       
    Thanks

JSON Source