[TIMOB-23246] Windows: Unable to create Module project
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2016-06-29T04:38:57.000+0000 |
Affected Version/s | Release 5.4.0, Release 5.3.0 |
Fix Version/s | Release 5.4.0 |
Components | Windows |
Labels | n/a |
Reporter | Jörgen Buder |
Assignee | Gary Mathews |
Created | 2016-04-20T11:18:36.000+0000 |
Updated | 2016-06-30T17:02:17.000+0000 |
Description
*Summary*
Creating module project doesn't work when Visual Studio 2015 is not installed.
*Steps to Reproduce*
Run
appc new -n test --id com.example.test
under the environment where Visual Studio 2015 is not installed.
*Expected Result*
- When user installs VS 2013 only, it shoud generate VS 2013 module project
- When user installs VS 2015 only, it should generate VS 2015 module project
- When user installs both VS 2015 and 2013, it should generate VS 2015 module project because it's newer
-------------------------------
Following the docs on creating a module (to be able to use background service or similar features) do not work. The error is that the module cannot be created due to this error:
PS Z:\Users\jorgenbuder\Documents\Appcelerator_Studio_Workspace> appc new -n test --id com.example.test
Appcelerator Command-Line Interface, version 5.2.2
Copyright (c) 2014-2016, Appcelerator, Inc. All Rights Reserved.
? What type of project are you creating? Titanium Module (timodule)
? Do you want to overwrite? Yes
CMake Error at CMakeLists.txt:20 (project):
A Windows Phone component with CMake requires both the Windows Desktop SDK
as well as the Windows Phone '8.1' SDK. Please make sure that you have
both installed
2016-04-20T11:06:42.061Z | ERROR | titanium exited with non-zero exit code (1)
PS Z:\Users\jorgenbuder\Documents\Appcelerator_Studio_Workspace>
This was not a problem when I tried crating a module poor to the new SDK 5.4.0.v20160419xxxxxx
Then again I did not use the same module create command, but this proposed method does not work. I want to ask you why the system complains about the when I indeed have Phone 8.1 installed. I create this bug on your request since this is stopping me to test the background service features you have added and is critical to us!
This is my setup:
Node:
v0.12.7
Appc info
PS Z:\Users\jorgenbuder\Documents\Appcelerator_Studio_Workspace> appc info
Appcelerator Command-Line Interface, version 5.2.2
Copyright (c) 2014-2016, Appcelerator, Inc. All Rights Reserved.
Operating System
Name = Microsoft Windows 8.1 Pro
Version = 6.3.9600
Architecture = 32bit
# CPUs = 4
Memory = 4.0GB
Node.js
Node.js Version = 0.12.7
npm Version = 2.11.3
Appcelerator CLI
Installer = 4.2.4
Core Package = 5.2.2
Titanium CLI
CLI Version = 5.0.6
node-appc Version = 0.2.31
Titanium SDKs
5.4.0.v20160419234222
Version = 5.4.0
Install Location = C:\Users\jorgenbuder\Library\Application Support\Titanium\mobilesdk\win32\5.4.0.v20160
9234222
Platforms = android, mobileweb, windows
git Hash = 743d79c
git Timestamp = 04/19/16 23:42
node-appc Version = 0.2.35
5.4.0.v20160418194101
Version = 5.4.0
Install Location = C:\Users\jorgenbuder\Library\Application Support\Titanium\mobilesdk\win32\5.4.0.v20160
8194101
Platforms = android, mobileweb, windows
git Hash = ff3acd9
git Timestamp = 04/18/16 19:41
node-appc Version = 0.2.35
5.4.0.v20160406002717
Version = 5.4.0
Install Location = Z:\Users\jorgenbuder\Library\Application Support\Titanium\mobilesdk\win32\5.4.0.v20160
6002717
Platforms = android, mobileweb, windows
git Hash = 3b4a229
git Timestamp = 04/06/16 00:27
node-appc Version = 0.2.35
5.4.0.v20160330202802
Version = 5.4.0
Install Location = C:\Users\jorgenbuder\Library\Application Support\Titanium\mobilesdk\win32\5.4.0.v20160
0202802
Platforms = android, mobileweb, windows
git Hash = 15320e5
git Timestamp = 03/30/16 20:28
node-appc Version = 0.2.35
5.4.0.v20160301084038
Version = 5.4.0
Install Location = C:\ProgramData\Titanium\mobilesdk\win32\5.4.0.v20160301084038
Platforms = android, mobileweb, windows
git Hash = 071c19c
git Timestamp = 03/01/16 08:40
node-appc Version = 0.2.35
5.2.2.GA
Version = 5.2.2
Install Location = Z:\Users\jorgenbuder\Library\Application Support\Titanium\mobilesdk\win32\5.2.2.GA
Platforms = android, mobileweb, windows
git Hash = b685ddb
git Timestamp = 03/28/16 14:12
node-appc Version = 0.2.33
5.2.1.GA
Version = 5.2.1
Install Location = C:\Users\jorgenbuder\Library\Application Support\Titanium\mobilesdk\win32\5.2.1.GA
Platforms = android, mobileweb, windows
git Hash = 23e1c7d
git Timestamp = 03/18/16 22:51
node-appc Version = 0.2.33
5.2.0.v20151125082947
Version = 5.2.0
Install Location = C:\ProgramData\Titanium\mobilesdk\win32\5.2.0.v20151125082947
Platforms = android, mobileweb, windows
git Hash = 1edba8d
git Timestamp = 11/25/15 08:29
node-appc Version = 0.2.33
5.2.0.v20151123172027
Version = 5.2.0
Install Location = C:\ProgramData\Titanium\mobilesdk\win32\5.2.0.v20151123172027
Platforms =
git Hash = a451c7d
git Timestamp = 11/23/15 17:20
node-appc Version = 0.2.33
5.2.0.GA
Version = 5.2.0
Install Location = C:\ProgramData\Titanium\mobilesdk\win32\5.2.0.GA
Platforms = android, mobileweb, windows
git Hash = 384775e
git Timestamp = 02/20/16 08:04
node-appc Version = 0.2.33
4.2.0.v20150813145415
Version = 4.2.0
Install Location = C:\ProgramData\Titanium\mobilesdk\win32\4.2.0.v20150813145415
Platforms = android, mobileweb, windows
git Hash = 1b0d4a8
git Timestamp = 08/13/15 14:54
node-appc Version = 0.2.28
4.2.0.v20150812202823
Version = 4.2.0
Install Location = C:\ProgramData\Titanium\mobilesdk\win32\4.2.0.v20150812202823
Platforms = android, mobileweb, windows
git Hash = 1b0d4a8
git Timestamp = 08/12/15 20:28
node-appc Version = 0.2.28
4.2.0.v20150811132821
Version = 4.2.0
Install Location = C:\ProgramData\Titanium\mobilesdk\win32\4.2.0.v20150811132821
Platforms = android, mobileweb, windows
git Hash = 8c7083c
git Timestamp = 08/11/15 13:28
node-appc Version = 0.2.28
4.2.0.v20150730093157
Version = 4.2.0
Install Location = C:\ProgramData\Titanium\mobilesdk\win32\4.2.0.v20150730093157
Platforms = android, mobileweb, windows
git Hash = 7adfcdd
git Timestamp = 07/30/15 09:31
node-appc Version = 0.2.28
4.2.0.v20150708154418
Version = 4.2.0
Install Location = C:\ProgramData\Titanium\mobilesdk\win32\4.2.0.v20150708154418
Platforms = android, mobileweb, windows
git Hash = 86af84e
git Timestamp = 07/08/15 15:44
node-appc Version = 0.2.24
4.2.0.v20150707233642
Version = 4.2.0
Install Location = C:\ProgramData\Titanium\mobilesdk\win32\4.2.0.v20150707233642
Platforms = android, mobileweb, windows
git Hash = 8605329
git Timestamp = 07/07/15 23:36
node-appc Version = 0.2.24
4.2.0.v20150619181228
Version = 4.2.0
Install Location = C:\ProgramData\Titanium\mobilesdk\win32\4.2.0.v20150619181228
Platforms = android, mobileweb, windows
git Hash = 5a0331a
git Timestamp = 06/19/15 18:12
node-appc Version = 0.2.24
4.1.0.v20150616092649
Version = 4.1.0
Install Location = C:\ProgramData\Titanium\mobilesdk\win32\4.1.0.v20150616092649
Platforms = android, mobileweb, windows
git Hash = 541529c
git Timestamp = 06/16/15 09:26
node-appc Version = 0.2.24
4.1.0.v20150615164423
Version = 4.1.0
Install Location = C:\ProgramData\Titanium\mobilesdk\win32\4.1.0.v20150615164423
Platforms = android, mobileweb, windows
git Hash = 541529c
git Timestamp = 06/15/15 16:44
node-appc Version = 0.2.24
4.1.0.v20150610125228
Version = 4.1.0
Install Location = C:\ProgramData\Titanium\mobilesdk\win32\4.1.0.v20150610125228
Platforms = windows, mobileweb, android
git Hash = d2e417b
git Timestamp = 06/10/15 12:52
node-appc Version = 0.2.24
4.1.0.v20150609095225
Version = 4.1.0
Install Location = C:\ProgramData\Titanium\mobilesdk\win32\4.1.0.v20150609095225
Platforms = windows, mobileweb, android
git Hash = 3d8add6
git Timestamp = 06/09/15 09:52
node-appc Version = 0.2.24
4.1.0.v20150604140424
Version = 4.1.0
Install Location = C:\ProgramData\Titanium\mobilesdk\win32\4.1.0.v20150604140424
Platforms = windows, mobileweb, android
git Hash = 154ad91
git Timestamp = 06/04/15 14:04
node-appc Version = 0.2.24
4.1.0.v20150522132746
Version = 4.1.0
Install Location = C:\ProgramData\Titanium\mobilesdk\win32\4.1.0.v20150522132746
Platforms = windows, mobileweb, android
git Hash = d7a138c
git Timestamp = 05/22/15 13:27
node-appc Version = 0.2.24
4.1.0.v20150521102225
Version = 4.1.0
Install Location = C:\ProgramData\Titanium\mobilesdk\win32\4.1.0.v20150521102225
Platforms = windows, mobileweb, android, blackberry
git Hash = 38b1578
git Timestamp = 05/21/15 10:22
node-appc Version = 0.2.24
4.0.0.GA
Version = 4.0.0
Install Location = C:\ProgramData\Titanium\mobilesdk\win32\4.0.0.GA
Platforms = mobileweb, android
git Hash = 9239ff9
git Timestamp = 05/18/15 15:42
node-appc Version = 0.2.24
3.5.1.GA
Version = 3.5.1
Install Location = C:\ProgramData\Titanium\mobilesdk\win32\3.5.1.GA
Platforms = mobileweb, android, blackberry
git Hash = 96875c9
git Timestamp = 03/05/15 10:08
node-appc Version = 0.2.24
Intel® Hardware Accelerated Execution Manager (HAXM)
Not installed
Java Development Kit
Not found
Genymotion
Path = not found
Genymotion Executable = not found
Genymotion Player = not found
Home = not found
VirtualBox
Executable = not found
Version = unknown
Android SDK
Android Executable = not found
ADB Executable = not found
SDK Path = not found
Android NDK
NDK Path = not found
NDK Version = not found
Android Platforms
None
Android Add-Ons
None
Android Emulators
None
Genymotion Emulators
None
Connected Android Devices
None
Microsoft (R) Visual Studio
12.0 (selected)
Path = C:\Program Files (x86)\Microsoft Visual Studio 12.0\
CLR Version = v4.0.30319
MSBuild Version = v12.0.31101.0
Windows Phone SDKs = not installed
Microsoft (R) Windows Phone SDK
8.1 (selected)
Path = C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v8.1\
Windows PowerShell
Enabled = yes
Windows Phone Emulators
8.1
Emulator 8.1 WVGA 4 inch 512MB
UDID 8-1-1
Emulator 8.1 WVGA 4 inch
UDID 8-1-2
Emulator 8.1 WXGA 4.5 inch
UDID 8-1-3
Emulator 8.1 720P 4.7 inch
UDID 8-1-4
Emulator 8.1 1080P 5.5 inch
UDID 8-1-5
Emulator 8.1 1080P 6 inch
UDID 8-1-6
10.0
Windows Phone Devices
Device
UDID 0
Java Development Kit Issues
× JDK (Java Development Kit) not installed.
If you already have installed the JDK, verify your JAVA_HOME environment variable is correctly
set.
The JDK is required for must be manually downloaded and installed from
http://appcelerator.com/jdk.
Android Issues
× JDK (Java Development Kit) not found.
If you already have installed the JDK, verify your JAVA_HOME environment variable is correctly
set.
The JDK can be downloaded and installed from http://appcelerator.com/jdk.
PS Z:\Users\jorgenbuder\Documents\Appcelerator_Studio_Workspace>
I create the module with: appc new -n test --id com.example.test
Docs:
https://wiki.appcelerator.org/display/guides2/Windows+Background+Service+Quick+Start#WindowsBackgroundServiceQuickStart-WindowsModulePrerequisites
Is there something wrong here? Do remember I build both my old module with old SDK 20160406 and I also build my app like that, but anything newer does not work.. and as stated here I am not even able to create a new module. I was hoping that using SAME working module but build with latest SDK and also build then in App with latest SDK would work, at least, but not even that.
Please help
thanks
with -l trace: PS Z:\Users\jorgenbuder\Documents\Appcelerator_Studio_Workspace> appc new -n test --id com.example.test -l trace Appcelerator Command-Line Interface, version 5.2.2 Copyright (c) 2014-2016, Appcelerator, Inc. All Rights Reserved. 2016-04-20T11:32:06.654Z | TRACE | set environment to {"registry":"https://software.appcelerator.com","security":"https ://security.appcelerator.com","baseurl":"https://platform.appcelerator.com"} 2016-04-20T11:32:06.670Z | TRACE | checking credentials for existing session 2016-04-20T11:32:07.528Z | TRACE | Attempting to load session info from config file 2016-04-20T11:32:07.572Z | TRACE | check if session is invalidated 2016-04-20T11:32:08.478Z | TRACE | session expiry 1461570111648 false 2016-04-20T11:32:08.493Z | TRACE | Arrow Cloud config file: C:\Users\jorgenbuder\.acs 2016-04-20T11:32:08.511Z | TRACE | found Arrow Cloud login { mid: 'bc67dbb55159c99688d34b0bd52b90bf3d5184b2', publishPort: 443, publishHost: 'https://admin.cloudapp-enterprise.appcelerator.com', username: 'jorgen.buder@purplescout.se', cookie: [ 'connect.sid=s%3AMZUBgvFgR62LmPRtOL3bP9PS.oAElVAffVxnEuOFaPqpalBvV7aWv0dvcMNOAhQXYUik; Path=/; Expires=Mon, 02 May 2016 07:41:52 GMT; HttpOnly' ], defaultEP: { publishHost: 'https://admin.cloudapp-enterprise.appcelerator.com', publishPort: 443 } } , checking nodeACSEndpoint= https://admin.cloudapp-enterprise.appcelerator.com 2016-04-20T11:32:08.529Z | TRACE | Arrow Cloud cookie expiry [ 1462174912000 ] 2016-04-20T11:32:08.546Z | TRACE | session already loaded in opts.session 2016-04-20T11:32:08.561Z | TRACE | getCredentials() session: { "ipaddress": "169.254.80.80", "username": "jorgen.buder@purplescout.se", "password": "
ModuleIdAsFolder
\ExampleProxy.java.ejs => Z:\Users\jorgenbuder\Documents\Appcelerator_Studio_Workspace\test\android\src\com\example\test\ExampleProxy.java 2016-04-20T11:32:27.782Z | DEBUG | Copying C:\Users\jorgenbuder\Library\Application Support\Titanium\mobilesdk\win32\5. 4.0.v20160419234222\android\templates\module\default\template\android\src\ModuleIdAsFolder
\ModuleNameCamel
Module .java.ejs => Z:\Users\jorgenbuder\Documents\Appcelerator_Studio_Workspace\test\android\src\com\example\test\TestModule.j ava 2016-04-20T11:32:27.802Z | DEBUG | Copying C:\Users\jorgenbuder\Library\Application Support\Titanium\mobilesdk\win32\5. 4.0.v20160419234222\android\templates\module\default\template\android\timodule.xml => Z:\Users\jorgenbuder\Documents\App celerator_Studio_Workspace\test\android\timodule.xml 2016-04-20T11:32:27.830Z | DEBUG | Copying C:\Users\jorgenbuder\Library\Application Support\Titanium\mobilesdk\win32\5. 4.0.v20160419234222\mobileweb\templates\module\default\template\mobileweb\build.py.ejs => Z:\Users\jorgenbuder\Documents \Appcelerator_Studio_Workspace\test\mobileweb\build.py 2016-04-20T11:32:27.855Z | DEBUG | Copying C:\Users\jorgenbuder\Library\Application Support\Titanium\mobilesdk\win32\5. 4.0.v20160419234222\mobileweb\templates\module\default\template\mobileweb\manifest.ejs => Z:\Users\jorgenbuder\Documents \Appcelerator_Studio_Workspace\test\mobileweb\manifest 2016-04-20T11:32:27.887Z | DEBUG | Copying C:\Users\jorgenbuder\Library\Application Support\Titanium\mobilesdk\win32\5. 4.0.v20160419234222\mobileweb\templates\module\default\template\mobileweb\src\ModuleId
.js.ejs => Z:\Users\jorgenbude r\Documents\Appcelerator_Studio_Workspace\test\mobileweb\src\com.example.test.js 2016-04-20T11:32:27.908Z | DEBUG | Copying C:\Users\jorgenbuder\Library\Application Support\Titanium\mobilesdk\win32\5. 4.0.v20160419234222\mobileweb\templates\module\default\template\mobileweb\timodule.xml => Z:\Users\jorgenbuder\Documents \Appcelerator_Studio_Workspace\test\mobileweb\timodule.xml 2016-04-20T11:32:27.930Z | DEBUG | Copying C:\Users\jorgenbuder\Library\Application Support\Titanium\mobilesdk\win32\5. 4.0.v20160419234222\windows\templates\module\default\template\windows\cmake\moduleIdAsIdentifier
_Config.cmake.ejs => Z:\Users\jorgenbuder\Documents\Appcelerator_Studio_Workspace\test\windows\cmake\ComExampleTest_Config.cmake 2016-04-20T11:32:27.956Z | DEBUG | Copying C:\Users\jorgenbuder\Library\Application Support\Titanium\mobilesdk\win32\5. 4.0.v20160419234222\windows\templates\module\default\template\windows\CMakeLists.txt.ejs => Z:\Users\jorgenbuder\Documen ts\Appcelerator_Studio_Workspace\test\windows\CMakeLists.txt 2016-04-20T11:32:27.991Z | DEBUG | Copying C:\Users\jorgenbuder\Library\Application Support\Titanium\mobilesdk\win32\5. 4.0.v20160419234222\windows\templates\module\default\template\windows\include\moduleIdAsIdentifier
.hpp.ejs => Z:\Use rs\jorgenbuder\Documents\Appcelerator_Studio_Workspace\test\windows\include\ComExampleTest.hpp 2016-04-20T11:32:28.031Z | DEBUG | Copying C:\Users\jorgenbuder\Library\Application Support\Titanium\mobilesdk\win32\5. 4.0.v20160419234222\windows\templates\module\default\template\windows\manifest.ejs => Z:\Users\jorgenbuder\Documents\App celerator_Studio_Workspace\test\windows\manifest 2016-04-20T11:32:28.049Z | DEBUG | Copying C:\Users\jorgenbuder\Library\Application Support\Titanium\mobilesdk\win32\5. 4.0.v20160419234222\windows\templates\module\default\template\windows\src\moduleIdAsIdentifier
.cpp.ejs => Z:\Users\j orgenbuder\Documents\Appcelerator_Studio_Workspace\test\windows\src\ComExampleTest.cpp 2016-04-20T11:32:28.068Z | DEBUG | Copying C:\Users\jorgenbuder\Library\Application Support\Titanium\mobilesdk\win32\5. 4.0.v20160419234222\windows\templates\module\default\template\windows\test\CMakeLists.txt.ejs => Z:\Users\jorgenbuder\Do cuments\Appcelerator_Studio_Workspace\test\windows\test\CMakeLists.txt 2016-04-20T11:32:28.083Z | DEBUG | Copying C:\Users\jorgenbuder\Library\Application Support\Titanium\mobilesdk\win32\5. 4.0.v20160419234222\windows\templates\module\default\template\windows\timodule.xml => Z:\Users\jorgenbuder\Documents\App celerator_Studio_Workspace\test\windows\timodule.xml 2016-04-20T11:32:28.107Z | TRACE | done with plugin [Error: titanium exited with non-zero exit code (1)] 2016-04-20T11:32:28.860Z | ERROR | Error: titanium exited with non-zero exit code (1) at ChildProcess.[~buder] Can you delete everything under
C:\Users\jorgenbuder\.titanium\vsbuild
and then try the command again? CMake tend to leave broken cache in the working directory and can not recover it.already tried it once but will do it again...
But those folders apply only to app projects, not modules... ?
Nope same trace output fro the command : appc new -n test --id com.example.test -l trace :(
Do you mean you created module project in existing folder? Can you rename
timodule
so thatappc new
can create fresh project directory?I noted that too and yes I tried that, same error then, same error now with new name... :( So I tried twice... and of course I do not get the "overwrite" question when I do like so : appc new -n newmoduletest --id com.example.test -l trace
Also tried to construct it in C: and not Z which is shared, does not work Is my environment really correct? Node version I posted? The CLI versions?
also tried changing the id not working..
Hmm. I think error message says cmake broke something, or some other environmental issue. Can you paste full output from
ti info -p windows
? And also can you attachZ:\Users\jorgenbuder\Documents\Appcelerator_Studio_Workspace\test\windows\CMakeLists.txt
Ah sorry, ok you did paste
appc info
...According to appc info, it seems it fails to detect installed SDK (
Windows Phone SDKs = not installed
). Looking into it.[~buder] Can you paste output from
appc ti info -o json
? It should print more detailed important information for diagnostic the issue.I discovered there is a even newer build, I installed the 20160420 and tied again, same output BUT with this addition: 2016-04-20T12:30:23.953Z | WARN | CMake Error at CMakeLists.txt:20 (project): 2016-04-20T12:30:23.965Z | ERROR | A Windows Phone component with CMake requires both the Windows Desktop SDK 2016-04-20T12:30:23.977Z | ERROR | as well as the Windows Phone '8.1' SDK. Please make sure that you have 2016-04-20T12:30:23.990Z | ERROR | both installed 2016-04-20T12:30:24.006Z | TRACE | done with plugin [Error: titanium exited with non-zero exit code (1)] 2016-04-20T12:30:24.535Z | ERROR | Error: titanium exited with non-zero exit code (1) at ChildProcess.
yes here: S Z:\Users\jorgenbuder\Documents\Appcelerator_Studio_Workspace> appc ti info -o json "os": { "name": "Microsoft Windows 8.1 Pro", "version": "6.3.9600", "architecture": "32bit", "numcpus": 4, "memory": 4294488064 }, "node": { "version": "0.12.7" }, "npm": { "version": "2.11.3" }, "titanium": { "5.4.0.v20160301084038": { "version": "5.4.0", "path": "C:\\ProgramData\\Titanium\\mobilesdk\\win32\\5.4.0.v20160301084038", "platforms": [ "android", "mobileweb", "windows" ], "githash": "071c19c", "timestamp": "03/01/16 08:40", "nodeAppcVer": "0.2.35" }, "5.2.0.v20151125082947": { "version": "5.2.0", "path": "C:\\ProgramData\\Titanium\\mobilesdk\\win32\\5.2.0.v20151125082947", "platforms": [ "android", "mobileweb", "windows" ], "githash": "1edba8d", "timestamp": "11/25/15 08:29", "nodeAppcVer": "0.2.33" }, "5.2.0.v20151123172027": { "version": "5.2.0", "path": "C:\\ProgramData\\Titanium\\mobilesdk\\win32\\5.2.0.v20151123172027", "platforms": [], "githash": "a451c7d", "timestamp": "11/23/15 17:20", "nodeAppcVer": "0.2.33" }, "5.2.0.GA": { "version": "5.2.0", "path": "C:\\ProgramData\\Titanium\\mobilesdk\\win32\\5.2.0.GA", "platforms": [ "android", "mobileweb", "windows" ], "githash": "384775e", "timestamp": "02/20/16 08:04", "nodeAppcVer": "0.2.33" }, "4.2.0.v20150813145415": { "version": "4.2.0", "path": "C:\\ProgramData\\Titanium\\mobilesdk\\win32\\4.2.0.v20150813145415", "platforms": [ "android", "mobileweb", "windows" ], "githash": "1b0d4a8", "timestamp": "08/13/15 14:54", "nodeAppcVer": "0.2.28" }, "4.2.0.v20150812202823": { "version": "4.2.0", "path": "C:\\ProgramData\\Titanium\\mobilesdk\\win32\\4.2.0.v20150812202823", "platforms": [ "android", "mobileweb", "windows" ], "githash": "1b0d4a8", "timestamp": "08/12/15 20:28", "nodeAppcVer": "0.2.28" }, "4.2.0.v20150811132821": { "version": "4.2.0", "path": "C:\\ProgramData\\Titanium\\mobilesdk\\win32\\4.2.0.v20150811132821", "platforms": [ "android", "mobileweb", "windows" ], "githash": "8c7083c", "timestamp": "08/11/15 13:28", "nodeAppcVer": "0.2.28" }, "4.2.0.v20150730093157": { "version": "4.2.0", "path": "C:\\ProgramData\\Titanium\\mobilesdk\\win32\\4.2.0.v20150730093157", "platforms": [ "android", "mobileweb", "windows" ], "githash": "7adfcdd", "timestamp": "07/30/15 09:31", "nodeAppcVer": "0.2.28" }, "4.2.0.v20150708154418": { "version": "4.2.0", "path": "C:\\ProgramData\\Titanium\\mobilesdk\\win32\\4.2.0.v20150708154418", "platforms": [ "android", "mobileweb", "windows" ], "githash": "86af84e", "timestamp": "07/08/15 15:44", "nodeAppcVer": "0.2.24" }, "4.2.0.v20150707233642": { "version": "4.2.0", "path": "C:\\ProgramData\\Titanium\\mobilesdk\\win32\\4.2.0.v20150707233642", "platforms": [ "android", "mobileweb", "windows" ], "githash": "8605329", "timestamp": "07/07/15 23:36", "nodeAppcVer": "0.2.24" }, "4.2.0.v20150619181228": { "version": "4.2.0", "path": "C:\\ProgramData\\Titanium\\mobilesdk\\win32\\4.2.0.v20150619181228", "platforms": [ "android", "mobileweb", "windows" ], "githash": "5a0331a", "timestamp": "06/19/15 18:12", "nodeAppcVer": "0.2.24" }, "4.1.0.v20150616092649": { "version": "4.1.0", "path": "C:\\ProgramData\\Titanium\\mobilesdk\\win32\\4.1.0.v20150616092649", "platforms": [ "android", "mobileweb", "windows" ], "githash": "541529c", "timestamp": "06/16/15 09:26", "nodeAppcVer": "0.2.24" }, "4.1.0.v20150615164423": { "version": "4.1.0", "path": "C:\\ProgramData\\Titanium\\mobilesdk\\win32\\4.1.0.v20150615164423", "platforms": [ "android", "mobileweb", "windows" ], "githash": "541529c", "timestamp": "06/15/15 16:44", "nodeAppcVer": "0.2.24" }, "4.1.0.v20150610125228": { "version": "4.1.0", "path": "C:\\ProgramData\\Titanium\\mobilesdk\\win32\\4.1.0.v20150610125228", "platforms": [ "windows", "mobileweb", "android" ], "githash": "d2e417b", "timestamp": "06/10/15 12:52", "nodeAppcVer": "0.2.24" }, "4.1.0.v20150609095225": { "version": "4.1.0", "path": "C:\\ProgramData\\Titanium\\mobilesdk\\win32\\4.1.0.v20150609095225", "platforms": [ "windows", "mobileweb", "android" ], "githash": "3d8add6", "timestamp": "06/09/15 09:52", "nodeAppcVer": "0.2.24" }, "4.1.0.v20150604140424": { "version": "4.1.0", "path": "C:\\ProgramData\\Titanium\\mobilesdk\\win32\\4.1.0.v20150604140424", "platforms": [ "windows", "mobileweb", "android" ], "githash": "154ad91", "timestamp": "06/04/15 14:04", "nodeAppcVer": "0.2.24" }, "4.1.0.v20150522132746": { "version": "4.1.0", "path": "C:\\ProgramData\\Titanium\\mobilesdk\\win32\\4.1.0.v20150522132746", "platforms": [ "windows", "mobileweb", "android" ], "githash": "d7a138c", "timestamp": "05/22/15 13:27", "nodeAppcVer": "0.2.24" }, "4.1.0.v20150521102225": { "version": "4.1.0", "path": "C:\\ProgramData\\Titanium\\mobilesdk\\win32\\4.1.0.v20150521102225", "platforms": [ "windows", "mobileweb", "android", "blackberry" ], "githash": "38b1578", "timestamp": "05/21/15 10:22", "nodeAppcVer": "0.2.24" }, "4.0.0.GA": { "version": "4.0.0", "path": "C:\\ProgramData\\Titanium\\mobilesdk\\win32\\4.0.0.GA", "platforms": [ "mobileweb", "android" ], "githash": "9239ff9", "timestamp": "05/18/15 15:42", "nodeAppcVer": "0.2.24" }, "3.5.1.GA": { "version": "3.5.1", "path": "C:\\ProgramData\\Titanium\\mobilesdk\\win32\\3.5.1.GA", "platforms": [ "mobileweb", "android", "blackberry" ], "githash": "96875c9", "timestamp": "03/05/15 10:08", "nodeAppcVer": "0.2.24" }, "5.4.0.v20160420025342": { "version": "5.4.0", "path": "C:\\Users\\jorgenbuder\\Library\\Application Support\\Titanium\\mobilesdk\\win32\\5.4.0 v20160420025342", "platforms": [ "android", "mobileweb", "windows" ], "githash": "743d79c", "timestamp": "04/20/16 02:53", "nodeAppcVer": "0.2.35" }, "5.4.0.v20160419234222": { "version": "5.4.0", "path": "C:\\Users\\jorgenbuder\\Library\\Application Support\\Titanium\\mobilesdk\\win32\\5.4.0 v20160419234222", "platforms": [ "android", "mobileweb", "windows" ], "githash": "743d79c", "timestamp": "04/19/16 23:42", "nodeAppcVer": "0.2.35" }, "5.4.0.v20160418194101": { "version": "5.4.0", "path": "C:\\Users\\jorgenbuder\\Library\\Application Support\\Titanium\\mobilesdk\\win32\\5.4.0 v20160418194101", "platforms": [ "android", "mobileweb", "windows" ], "githash": "ff3acd9", "timestamp": "04/18/16 19:41", "nodeAppcVer": "0.2.35" }, "5.4.0.v20160330202802": { "version": "5.4.0", "path": "C:\\Users\\jorgenbuder\\Library\\Application Support\\Titanium\\mobilesdk\\win32\\5.4.0 v20160330202802", "platforms": [ "android", "mobileweb", "windows" ], "githash": "15320e5", "timestamp": "03/30/16 20:28", "nodeAppcVer": "0.2.35" }, "5.2.1.GA": { "version": "5.2.1", "path": "C:\\Users\\jorgenbuder\\Library\\Application Support\\Titanium\\mobilesdk\\win32\\5.2.1 GA", "platforms": [ "android", "mobileweb", "windows" ], "githash": "23e1c7d", "timestamp": "03/18/16 22:51", "nodeAppcVer": "0.2.33" }, "5.4.0.v20160406002717": { "version": "5.4.0", "path": "Z:\\Users\\jorgenbuder\\Library\\Application Support\\Titanium\\mobilesdk\\win32\\5.4.0 v20160406002717", "platforms": [ "android", "mobileweb", "windows" ], "githash": "3b4a229", "timestamp": "04/06/16 00:27", "nodeAppcVer": "0.2.35" }, "5.2.2.GA": { "version": "5.2.2", "path": "Z:\\Users\\jorgenbuder\\Library\\Application Support\\Titanium\\mobilesdk\\win32\\5.2.2 GA", "platforms": [ "android", "mobileweb", "windows" ], "githash": "b685ddb", "timestamp": "03/28/16 14:12", "nodeAppcVer": "0.2.33" } }, "titaniumCLI": { "version": "5.0.6", "nodeAppcVer": "0.2.31", "selectedSDK": "5.4.0.v20160420025342" }, "haxm": { "compatible": true, "installed": false, "memlimit": null }, "jdk": { "jdks": {}, "home": null, "version": null, "build": null, "executables": {}, "issues": [ { "id": "JDK_NOT_INSTALLED", "type": "error", "message": "JDK (Java Development Kit) not installed.\nIf you already have installed the JDK, verify your __JAVA_HOME__ environment variable is correctly set.\nThe JDK is required for must be manually downloa ed and installed from __http://appcelerator.com/jdk__." } ] }, "genymotion": { "executables": { "genymotion": null, "player": null, "vboxmanage": null }, "home": null, "avds": [], "issues": [], "tisdk": "5.4.0.v20160420025342" }, "android": { "linux64bit": null, "ndk": null, "sdk": null, "home": "C:\\Users\\jorgenbuder\\.android", "detectVersion": "2.0", "vendorDependencies": { "android sdk": "23", "android build tools": ">=17 <=23.x", "android platform tools": ">=17 <=23.x", "android tools": "<=24.3.x", "android ndk": ">=r8e <=r9", "node": ">=0.10.0 <=0.12.x", "java": "<=1.8.x" }, "targets": {}, "issues": [ { "id": "ANDROID_JDK_NOT_FOUND", "type": "error", "message": "JDK (Java Development Kit) not found.\nIf you already have installed the JDK verify your __JAVA_HOME__ environment variable is correctly set.\nThe JDK can be downloaded and installed from __http: /appcelerator.com/jdk__." } ], "tisdk": "5.4.0.v20160420025342", "emulators": [] }, "windows": { "detectVersion": "3.0", "issues": [], "assemblies": { "Microsoft.SmartDevice.Connectivity.Interface": { "11.0.0.0": { "assemblyFile": "C:\\Windows\\Microsoft.NET\\assembly\\GAC_MSIL\\Microsoft.Smart evice.Connectivity.Interface\\v4.0_11.0.0.0__b03f5f7f11d50a3a\\Microsoft.SmartDevice.Connectivity.Interface.dll", "dotNetVersion": "4.0", "assemblyVersion": "11.0.0.0", "publicKeyToken": "b03f5f7f11d50a3a" }, "12.0.0.0": { "assemblyFile": "C:\\Windows\\Microsoft.NET\\assembly\\GAC_MSIL\\Microsoft.Smart evice.Connectivity.Interface\\v4.0_12.0.0.0__b03f5f7f11d50a3a\\Microsoft.SmartDevice.Connectivity.Interface.dll", "dotNetVersion": "4.0", "assemblyVersion": "12.0.0.0", "publicKeyToken": "b03f5f7f11d50a3a" } }, "Microsoft.SmartDevice.MultiTargeting.Connectivity": { "11.0.0.0": { "assemblyFile": "C:\\Windows\\Microsoft.NET\\assembly\\GAC_MSIL\\Microsoft.Smart evice.MultiTargeting.Connectivity\\v4.0_11.0.0.0__b03f5f7f11d50a3a\\Microsoft.SmartDevice.MultiTargeting.Connectivity.d l", "dotNetVersion": "4.0", "assemblyVersion": "11.0.0.0", "publicKeyToken": "b03f5f7f11d50a3a" }, "12.0.0.0": { "assemblyFile": "C:\\Windows\\Microsoft.NET\\assembly\\GAC_MSIL\\Microsoft.Smart evice.MultiTargeting.Connectivity\\v4.0_12.0.0.0__b03f5f7f11d50a3a\\Microsoft.SmartDevice.MultiTargeting.Connectivity.d l", "dotNetVersion": "4.0", "assemblyVersion": "12.0.0.0", "publicKeyToken": "b03f5f7f11d50a3a" } } }, "windows": { "8.1": { "version": "8.1", "registryKey": "HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Microsoft SDKs\\Windows\\v8.1", "supported": true, "path": "C:\\Program Files (x86)\\Windows Kits\\8.1\\", "signTool": { "arm": "C:\\Program Files (x86)\\Windows Kits\\8.1\\bin\\arm\\SignTool.exe", "x86": "C:\\Program Files (x86)\\Windows Kits\\8.1\\bin\\x86\\SignTool.exe", "x64": "C:\\Program Files (x86)\\Windows Kits\\8.1\\bin\\x64\\SignTool.exe" }, "makeCert": { "x86": "C:\\Program Files (x86)\\Windows Kits\\8.1\\bin\\x86\\MakeCert.exe", "x64": "C:\\Program Files (x86)\\Windows Kits\\8.1\\bin\\x64\\MakeCert.exe" }, "pvk2pfx": { "x86": "C:\\Program Files (x86)\\Windows Kits\\8.1\\bin\\x86\\pvk2pfx.exe", "x64": "C:\\Program Files (x86)\\Windows Kits\\8.1\\bin\\x64\\pvk2pfx.exe" }, "selected": true } }, "windowsphone": { "8.1": { "version": "8.1", "registryKey": "HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Microsoft SDKs\\WindowsPhone\\v .1", "supported": true, "path": "C:\\Program Files (x86)\\Microsoft SDKs\\Windows Phone\\v8.1\\", "deployCmd": "C:\\Program Files (x86)\\Microsoft SDKs\\Windows Phone\\v8.1\\Tools\\AppDe loy\\AppDeployCmd.exe", "xapSignTool": "C:\\Program Files (x86)\\Microsoft SDKs\\Windows Phone\\v8.1\\Tools\\Xap ignTool\\XapSignTool.exe", "selected": true } }, "os": { "name": "Microsoft Windows 8.1 Pro", "version": "6.3.9600" }, "powershell": { "enabled": true }, "devices": [ { "name": "Device", "udid": 0, "index": 0, "wpsdk": null } ], "emulators": { "8.1": [ { "name": "Emulator 8.1 WVGA 4 inch 512MB", "udid": "8-1-1", "index": 1, "wpsdk": "8.1" }, { "name": "Emulator 8.1 WVGA 4 inch", "udid": "8-1-2", "index": 2, "wpsdk": "8.1" }, { "name": "Emulator 8.1 WXGA 4.5 inch", "udid": "8-1-3", "index": 3, "wpsdk": "8.1" }, { "name": "Emulator 8.1 720P 4.7 inch", "udid": "8-1-4", "index": 4, "wpsdk": "8.1" }, { "name": "Emulator 8.1 1080P 5.5 inch", "udid": "8-1-5", "index": 5, "wpsdk": "8.1" }, { "name": "Emulator 8.1 1080P 6 inch", "udid": "8-1-6", "index": 6, "wpsdk": "8.1" } ], "10.0": [] }, "selectedVisualStudio": { "version": "12.0", "registryKey": "HKEY_CURRENT_USER\\Software\\Microsoft\\VisualStudio\\12.0_Config", "supported": true, "vcvarsall": "C:\\PROGRA~2\\MICROS~1.0\\VC\\VCVARS~1.BAT", "msbuildVersion": "12.0.31101.0", "wpsdk": null, "selected": true, "path": "C:\\Program Files (x86)\\Microsoft Visual Studio 12.0\\", "clrVersion": "v4.0.30319" }, "visualstudio": { "12.0": { "version": "12.0", "registryKey": "HKEY_CURRENT_USER\\Software\\Microsoft\\VisualStudio\\12.0_Config", "supported": true, "vcvarsall": "C:\\PROGRA~2\\MICROS~1.0\\VC\\VCVARS~1.BAT", "msbuildVersion": "12.0.31101.0", "wpsdk": null, "selected": true, "path": "C:\\Program Files (x86)\\Microsoft Visual Studio 12.0\\", "clrVersion": "v4.0.30319" } }, "tisdk": "5.4.0.v20160420025342" } S Z:\Users\jorgenbuder\Documents\Appcelerator_Studio_Workspace>
just running create concurrently did not complain about the SDK installed.... :( this is confusing...
Do you need something more from me now, I think I have posted all your questions, I am here ready to test anything you need..
[~buder] I think I found a potential workaround. Can you try
-appc new -n test --id com.example.test --wp-sdk 8.1-
and see if it works for you?Hmm no wait, please forget previous comment. But I think I'm close.
Also I tried that before and I get same result: :( sorry I though it was going to override the problem but as you can see it does not complain about the SDK "this time" it may complain however sometimes at what it seems "arbitrary" reasons.. I do not know.. PS Z:\Users\jorgenbuder\Documents\Appcelerator_Studio_Workspace> appc new -n newmoduletest2 --id com.psab -l trace --wp- sdk 8.1 Appcelerator Command-Line Interface, version 5.2.2 Copyright (c) 2014-2016, Appcelerator, Inc. All Rights Reserved. 2016-04-20T13:37:06.321Z | TRACE | set environment to {"registry":"https://software.appcelerator.com","security":"https ://security.appcelerator.com","baseurl":"https://platform.appcelerator.com"} 2016-04-20T13:37:06.337Z | TRACE | checking credentials for existing session 2016-04-20T13:37:07.140Z | TRACE | Attempting to load session info from config file 2016-04-20T13:37:07.161Z | TRACE | check if session is invalidated 2016-04-20T13:37:08.802Z | TRACE | session expiry 1461764081707 false 2016-04-20T13:37:08.819Z | TRACE | Arrow Cloud config file: C:\Users\jorgenbuder\.acs 2016-04-20T13:37:08.834Z | TRACE | found Arrow Cloud login { mid: 'bc67dbb55159c99688d34b0bd52b90bf3d5184b2', publishPort: 443, publishHost: 'https://admin.cloudapp-enterprise.appcelerator.com', username: 'jorgen.buder@purplescout.se', cookie: [ 'connect.sid=s%3AvR0BPHFJwQxxRyAHb822zpAd.oJXlO6Fv2OXZiNg8rLWpIAxNUcxcCgB0XrfeIqzb9i8; Path=/; Expires=Wed, 04 May 2016 13:34:52 GMT; HttpOnly' ], defaultEP: { publishHost: 'https://admin.cloudapp-enterprise.appcelerator.com', publishPort: 443 } } , checking nodeACSEndpoint= https://admin.cloudapp-enterprise.appcelerator.com 2016-04-20T13:37:08.850Z | TRACE | Arrow Cloud cookie expiry [ 1462368892000 ] 2016-04-20T13:37:08.866Z | TRACE | session already loaded in opts.session 2016-04-20T13:37:08.882Z | TRACE | getCredentials() session: { "ipaddress": "169.254.80.80", "username": "jorgen.buder@purplescout.se", "password": "
ModuleIdAsFolder
\ExampleProxy.java.ejs => Z:\Users\jorgenbuder\Documents\Appcelerator_Studio_Workspace\newmoduletest2\android\src\com\psab\ExampleProxy.java 2016-04-20T13:37:24.411Z | DEBUG | Copying C:\Users\jorgenbuder\Library\Application Support\Titanium\mobilesdk\win32\5. 4.0.v20160420025342\android\templates\module\default\template\android\src\ModuleIdAsFolder
\ModuleNameCamel
Module .java.ejs => Z:\Users\jorgenbuder\Documents\Appcelerator_Studio_Workspace\newmoduletest2\android\src\com\psab\Newmodulet est2Module.java 2016-04-20T13:37:24.430Z | DEBUG | Copying C:\Users\jorgenbuder\Library\Application Support\Titanium\mobilesdk\win32\5. 4.0.v20160420025342\android\templates\module\default\template\android\timodule.xml => Z:\Users\jorgenbuder\Documents\App celerator_Studio_Workspace\newmoduletest2\android\timodule.xml 2016-04-20T13:37:24.462Z | DEBUG | Copying C:\Users\jorgenbuder\Library\Application Support\Titanium\mobilesdk\win32\5. 4.0.v20160420025342\mobileweb\templates\module\default\template\mobileweb\build.py.ejs => Z:\Users\jorgenbuder\Documents \Appcelerator_Studio_Workspace\newmoduletest2\mobileweb\build.py 2016-04-20T13:37:24.486Z | DEBUG | Copying C:\Users\jorgenbuder\Library\Application Support\Titanium\mobilesdk\win32\5. 4.0.v20160420025342\mobileweb\templates\module\default\template\mobileweb\manifest.ejs => Z:\Users\jorgenbuder\Documents \Appcelerator_Studio_Workspace\newmoduletest2\mobileweb\manifest 2016-04-20T13:37:24.502Z | DEBUG | Copying C:\Users\jorgenbuder\Library\Application Support\Titanium\mobilesdk\win32\5. 4.0.v20160420025342\mobileweb\templates\module\default\template\mobileweb\src\ModuleId
.js.ejs => Z:\Users\jorgenbude r\Documents\Appcelerator_Studio_Workspace\newmoduletest2\mobileweb\src\com.psab.js 2016-04-20T13:37:24.519Z | DEBUG | Copying C:\Users\jorgenbuder\Library\Application Support\Titanium\mobilesdk\win32\5. 4.0.v20160420025342\mobileweb\templates\module\default\template\mobileweb\timodule.xml => Z:\Users\jorgenbuder\Documents \Appcelerator_Studio_Workspace\newmoduletest2\mobileweb\timodule.xml 2016-04-20T13:37:24.535Z | DEBUG | Copying C:\Users\jorgenbuder\Library\Application Support\Titanium\mobilesdk\win32\5. 4.0.v20160420025342\windows\templates\module\default\template\windows\cmake\moduleIdAsIdentifier
_Config.cmake.ejs => Z:\Users\jorgenbuder\Documents\Appcelerator_Studio_Workspace\newmoduletest2\windows\cmake\ComPsab_Config.cmake 2016-04-20T13:37:24.550Z | DEBUG | Copying C:\Users\jorgenbuder\Library\Application Support\Titanium\mobilesdk\win32\5. 4.0.v20160420025342\windows\templates\module\default\template\windows\CMakeLists.txt.ejs => Z:\Users\jorgenbuder\Documen ts\Appcelerator_Studio_Workspace\newmoduletest2\windows\CMakeLists.txt 2016-04-20T13:37:24.570Z | DEBUG | Copying C:\Users\jorgenbuder\Library\Application Support\Titanium\mobilesdk\win32\5. 4.0.v20160420025342\windows\templates\module\default\template\windows\include\moduleIdAsIdentifier
.hpp.ejs => Z:\Use rs\jorgenbuder\Documents\Appcelerator_Studio_Workspace\newmoduletest2\windows\include\ComPsab.hpp 2016-04-20T13:37:24.590Z | DEBUG | Copying C:\Users\jorgenbuder\Library\Application Support\Titanium\mobilesdk\win32\5. 4.0.v20160420025342\windows\templates\module\default\template\windows\manifest.ejs => Z:\Users\jorgenbuder\Documents\App celerator_Studio_Workspace\newmoduletest2\windows\manifest 2016-04-20T13:37:24.608Z | DEBUG | Copying C:\Users\jorgenbuder\Library\Application Support\Titanium\mobilesdk\win32\5. 4.0.v20160420025342\windows\templates\module\default\template\windows\src\moduleIdAsIdentifier
.cpp.ejs => Z:\Users\j orgenbuder\Documents\Appcelerator_Studio_Workspace\newmoduletest2\windows\src\ComPsab.cpp 2016-04-20T13:37:24.623Z | DEBUG | Copying C:\Users\jorgenbuder\Library\Application Support\Titanium\mobilesdk\win32\5. 4.0.v20160420025342\windows\templates\module\default\template\windows\test\CMakeLists.txt.ejs => Z:\Users\jorgenbuder\Do cuments\Appcelerator_Studio_Workspace\newmoduletest2\windows\test\CMakeLists.txt 2016-04-20T13:37:24.639Z | DEBUG | Copying C:\Users\jorgenbuder\Library\Application Support\Titanium\mobilesdk\win32\5. 4.0.v20160420025342\windows\templates\module\default\template\windows\timodule.xml => Z:\Users\jorgenbuder\Documents\App celerator_Studio_Workspace\newmoduletest2\windows\timodule.xml 2016-04-20T13:37:24.659Z | TRACE | done with plugin [Error: titanium exited with non-zero exit code (1)] 2016-04-20T13:37:25.209Z | ERROR | Error: titanium exited with non-zero exit code (1) at ChildProcess.One other thing is that looking at the last lines it seems there are files copied over to the target but there is nothing there not even a folder..
Hi I think I managed: Do not use appc to create module do this instead: ti create -p windows -t module --wp-sdk 8.1 then build with ti build -p windows -T ws-local this will create a project with the background service you made and also builds a valid zip file with 235 Kbytes or so, now I have to test it with the main app . I do not know why but the appc create module does not work (I use the 5.4.0 20160420 SDK) does this help ?
I think I'm close. Please wait for the update I will make tomorrow.
Oh yes it does help!! Thanks :)
Problem I have then is that I cannot use my old module and just add the class you made in the cpp and hpp file it seems the only way to use the same module as before is to make a new one (do not know if I can use the same name). I do not yet have a confirmation that this will work all the way with the background service but I think maybe I can now make a module that should be able to expose the background service task to the app.. Unfortunately I have to leave now, it must be late with you too... I think I can work with this unless you see any obvious problem creating the module like so?? I will get back to you when I tested to use this new module as background task function.. I will be back in a few hours but I guess I will see you tomorrow... bye
Should be fixed by TIMOB-23248
Hi So since this is resolved now, it means we have this in the mighty build? Can you tell me how I can see for my self which merges and tickets go into what nightly build? Is there a release list for each nightly build? I have tried the decodeNumber and when it did not work you said it was nto yet in, can I have a insight in how I can resolve this myself and not take up your time? But this ticket should be in 20160422 nightly build correct?
I'm not very sure exactly when nightly build is invoked. I usually check [Appcelerator Nightly Build Server](http://builds.appcelerator.com/#master), and check its timestamp.
Did you solve this for Win 10 as well, we are now trying your appc new command line but are getting same type of error there, the system complains about not having all SDK installed, while we can build our app to emulator (at least) this should not be a problem. Please respond.. appc new -n test -id com.ps --wp-sdk 8.1 this does not work, requieing Windows 10 SDK and Windows Store SDK, why is this a problem ? Running SDK 0428 5.4.0
It sounds like to me it needs Windows Phone 8.1 SDK too for you since you are specifying
wp-sdk 8.1
? Just in case, how about specifyingsdk
to make sure to use latest sdk:appc new -n TIMOB23246 --id com.appc.TIMOB23246 --wp-sdk 8.1 --sdk 5.4.0.v20160504215815
Hi Did not see this comment until now, will take a look at it however we have a bigger problem. A native module cannot be used in SDKs later than 0420, any native module crashes the app on the device making it impossible for me to test your background service on device, I have struggled with this now. I have confirmed that if I use the latest SDK 20160511 I can build and deploy the app ONLY if I remove the native module, and this worked in the 20160420 SDK I used before. This is critical, please reopen and investigate.. thanks
Re-opening as per user comment...
Closing this for now, because this ticket is originally created to describe "module project is not created" that can be marked as fixed. I think we want to be more specific to the case, I will create new ticket that is more specific to actual issue that something like "module does not work" or "Windows module crashes" according to the report.
[~buder] I tried native module on the the latest 5.3.0.v20160523083840 and 5.4.0.v20160530173143 but I was not able to reproduce crash you described. Could you create new ticket for this rather than adding comments on this ticket, to track the issue? It would be very welcome if you include full CLI command and output you executed and hopefully source code when needed. FYI what I did was to create/build module using following CLI commands. For 5_3_X:
For 5_4_X:
And then in app.js:
master: https://github.com/appcelerator/titanium_mobile_windows/pull/756
Thanks for following up [~eharris]! Just merged Gary's PR, will be available on 5.4.x soon.
Verified using: Windows 10 Pro Ti SDK: 5.4.0.v20160630074247 Appc NPM: 4.2.7-2 Appc CLI: 5.4.0-23 Appc Studio: 4.7.0.201606220541 Modules can now be created using the following configurations: * Visual studio with both Universal App Development Tools and Windows Phone 8.0/8.1 Tools installed * Visual studio with only Universal App Development Tools installed * Visual studio with only Windows Phone 8.0/8.1 Tools installed Closing ticket