Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-25689] Windows: ti.xaml.listview module does not build

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionDone
Resolution Date2018-01-22T08:39:50.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsWindows
Labelsn/a
ReporterMostafizur Rahman
AssigneeKota Iguchi
Created2018-01-22T06:48:38.000+0000
Updated2018-08-06T17:34:47.000+0000

Description

*ti.xaml.listview* module does not build on 7.0.1 *Test Environments:* Appcelerator Command-Line Interface, version 7.0.1 Titanium SDK 7.0.1.GA Operating System Microsoft Windows 10, Enterprise 10.0.16299, Architecture 64bit, CPUs 4,Memory 6338011136 Node.js Version = 8.9.1 npm Version = 5.5.1 Titanium CLI Version = 5.0.14 Titanium SDK Version = 7.0.1 .GA Windows Phone emulator: 10-0-1 *Test Code*:[Sample Project](https://www.dropbox.com/s/7dwj4s753qles4e/BlankApp-win-ti-xaml-list-view-tests.zip?dl=0) *Test Steps:* 1) Open studio and inport the app 4) Run the project via emulator *Console logs:*

DEBUG] : Found incompatible Titanium module id=ti.xaml.listview version=1.0.0 platform=windows api-version=3 deploy-type=development 
[DEBUG] : Module ti.xaml.listview has apiversion=3, but the selected SDK supports module apiversion=4 on platform=windows 
[WARN] : Could not find a valid Titanium module id=ti.xaml.listview version=latest platform=windows deploy-type=development 
[ERROR] : Found incompatible Titanium Modules: 
[ERROR] : id: ti.xaml.listview	version: 1.0.0	platform: windows	min sdk: 6.2.0
*Note:* Tested the *ti.xaml.listview* module from github [link| https://github.com/appcelerator-modules/ti.xaml.listview/releases] and it provides exception during compile.
[INFO] : Finished building the application in 1m 24s 16ms 
[INFO] : Installing and launching the application. Please wait as this may take some time... 
[INFO] : Installing dependency: Microsoft.NET.CoreRuntime.1.1.appx 
[INFO] : Project built successfully in 1m 25s 52ms 
[INFO] : Installing dependency: Microsoft.VCLibs.x86.14.00.appx 
[INFO] : Installing the application... 
[INFO] : Finished installing the application 
[INFO] : Waiting for app to connect to log relay 
[INFO] : Finished launching the application 
[INFO] : Connected to app 
-- Start application log ----------------------------------------------------- 
[ERROR] : ----- Titanium Javascript Runtime Error ----- 
[ERROR] : In app.js: 42,28 
[ERROR] : Message: Uncaught Error: unknown exception 

Comments

  1. Kota Iguchi 2018-01-22

    It should have re-compiled in order to support compatibility with 7.0.X. I have pushed the updated version here: https://github.com/appcelerator-modules/ti.xaml.listview/releases/tag/v1.0.1 so please provide customer a updated version. For your sample code, I found that your sample code misses module section in tiapp.xml, and also misses XAML DataTemplate file. It should have been placed under app/assets/windows for Alloy project (On classic app, just places it under Resouces/) as ListViewItemTemplate.xaml. Would you check the sample code in https://github.com/appcelerator-modules/ti.xaml.listview ?
  2. Eric Merriman 2018-08-06

    Closed as completed. If this is in error, please reopen.

JSON Source