{ "id": "160262", "key": "AC-3629", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2016-05-17T05:32:29.000+0000", "created": "2016-05-16T05:35:38.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-05-17T05:32:29.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [], "description": "I have made a mobile app in appcelerator currently for Andriod.\r\nI wish to run this on windows phone as well. \r\nTo build this I use :\r\n\r\n{code:java}\r\nappc run -p windows --target wp-emulator --deploy-time development --device-id 8-1-1\r\n{code}\r\n\r\nAnd emulator : _Emulator 8.1 WVGA 4 inch_\r\nNow, The project is build is successful. But the application instantly crashes as soon as it launches.\r\n\r\nLog : \r\n\r\n{code:java}\r\n\r\n[INFO] Generating Native Type Wrappers\r\n[INFO] Setting up native modules for CMakeLists.txt...\r\n[INFO] Writing appxmanifest C:\\Users\\Neha\\.titanium\\vsbuild\\MyTest\\Package.store.appxmanifest.in\r\n[INFO] Writing appxmanifest C:\\Users\\Neha\\.titanium\\vsbuild\\MyTest\\Package.phone.appxmanifest.in\r\n[INFO] Writing appxmanifest C:\\Users\\Neha\\.titanium\\vsbuild\\MyTest\\Package.win10.appxmanifest.in\r\n[INFO] Writing CMakeLists.txt: C:\\Users\\Neha\\.titanium\\vsbuild\\MyTest\\CMakeLists.txt\r\n[INFO] Running cmake at C:\\ProgramData\\Titanium\\mobilesdk\\win32\\5.2.2.GA\\windows\\cli\\vendor\\cmake\\bin\\cmake.exe in directory C:\\Users\\Neha\\.titanium\\vsbuild\\MyTest\\phone.x86\r\n[INFO] -- Found GTest: C:/Users/Neha/gtest/msvc/gtest-md/Debug/gtest.lib\r\n[INFO] -- Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE)\r\n[INFO] -- Configuring done\r\n[INFO] -- Generating done\r\n[INFO] -- Build files have been written to: C:/Users/Neha/.titanium/vsbuild/MyTest/phone.x86\r\n[INFO] Running MSBuild on solution: C:\\Users\\Neha\\.titanium\\vsbuild\\MyTest\\phone.x86\\MyTest.sln\r\n[INFO] Windows Phone emulator is ready\r\n[INFO] Writing build manifest: C:\\Users\\Neha\\.titanium\\vsbuild\\MyTest\\build-manifest.json\r\n[INFO] Copying results back to project build directory\r\n[INFO] Finished building the application in 2m 6s 959ms\r\n[INFO] Finished building the application in 2m 6s 959ms\r\n[INFO] Installing and launching the application\r\n[INFO] Project built successfully in 2m 6s 976ms\r\n\r\n[INFO] Connected to app\r\n-- Start application log -----------------------------------------------------\r\n[INFO] Inside manahe view\r\n[INFO] End of manage view before open\r\n[INFO] End of manage view after open\r\n[INFO] Finished launching the application\r\n[INFO] Waiting for app to connect to log relay\r\n[INFO] Disconnected from app\r\n-- End application log -------------------------------------------------------\r\n{code}\r\n\r\nPlease help on how to build Windows phone app with android based appcelerator code using Alloy.", "attachment": [], "flagged": false, "summary": "Android base appcelerator app not running in Windows Phone", "creator": { "name": "sanchi1706@gmail.com", "key": "sanchi1706@gmail.com", "displayName": "Sanchi Varma", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "sanchi1706@gmail.com", "key": "sanchi1706@gmail.com", "displayName": "Sanchi Varma", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Operating System\r\n Name = Microsoft Windows 10 Pro\r\n Version = 10.0.10586\r\n Architecture = 32bit\r\n # CPUs = 4\r\n Memory = 7.9GB\r\n\r\nNode.js\r\n Node.js Version = 0.12.7\r\n npm Version = 2.11.3\r\n\r\nTitanium CLI\r\n CLI Version = 5.0.8\r\n node-appc Version = 0.2.31\r\n\r\nTitanium SDKs\r\n 5.4.0.v20160509133737\r\n Version = 5.4.0\r\n Install Location = C:\\ProgramData\\Titanium\\mobilesdk\\win32\\5.4.0.v20160509133737\r\n Platforms = android, mobileweb, windows\r\n git Hash = 50dec34\r\n git Timestamp = 05/09/16 13:37\r\n node-appc Version = 0.2.35\r\n 5.2.2.GA\r\n Version = 5.2.2\r\n Install Location = C:\\ProgramData\\Titanium\\mobilesdk\\win32\\5.2.2.GA\r\n Platforms = android, mobileweb, windows\r\n git Hash = b685ddb\r\n git Timestamp = 03/28/16 14:12\r\n node-appc Version = 0.2.33\r\n\r\nIntel® Hardware Accelerated Execution Manager (HAXM)\r\n Not installed\r\n\r\nJava Development Kit\r\n Version = 1.7.0_80\r\n Java Home = C:\\Program Files (x86)\\Java\\jdk1.7.0_80\r\n\r\nGenymotion\r\n Path = not found\r\n Genymotion Executable = not found\r\n Genymotion Player = not found\r\n Home = not found\r\n\r\nVirtualBox\r\n Executable = not found\r\n Version = unknown\r\n\r\nAndroid SDK\r\n Android Executable = not found\r\n ADB Executable = not found\r\n SDK Path = not found\r\n\r\nAndroid NDK\r\n NDK Path = not found\r\n NDK Version = not found\r\n\r\nAndroid Platforms\r\n None\r\n\r\nAndroid Add-Ons\r\n None\r\n\r\nAndroid Emulators\r\n None\r\n\r\nGenymotion Emulators\r\n None\r\n\r\nConnected Android Devices\r\n None\r\n\r\nMicrosoft (R) Visual Studio\r\n 12.0\r\n Path = C:\\Program Files (x86)\\Microsoft Visual Studio 12.0\\\r\n CLR Version = v4.0.30319\r\n MSBuild Version = v12.0.40629.0\r\n Windows Phone SDKs = not installed\r\n 14.0 (selected)\r\n Path = C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\\r\n CLR Version = v4.0.30319\r\n MSBuild Version = v14.0.25123.0\r\n Windows Phone SDKs = not installed\r\n\r\nMicrosoft (R) Windows Phone SDK\r\n 10.0 **Not supported by Titanium SDK 5.2.2.GA**\r\n Path = C:\\Program Files (x86)\\Windows Kits\\10\\\r\n 8.1 (selected)\r\n Path = C:\\Program Files (x86)\\Microsoft SDKs\\Windows Phone\\v8.1\\\r\n\r\nWindows PowerShell\r\n Enabled = yes\r\n\r\nWindows Phone Emulators\r\n8.1\r\n Emulator 8.1 U1 WVGA 4 inch 512MB\r\n UDID 8-1-7\r\n Emulator 8.1 U1 WVGA 4 inch\r\n UDID 8-1-8\r\n Emulator 8.1 U1 WXGA 4.5 inch\r\n UDID 8-1-9\r\n Emulator 8.1 U1 720P 4.7 inch\r\n UDID 8-1-10\r\n Emulator 8.1 U1 1080P 5.5 inch\r\n UDID 8-1-11\r\n Emulator 8.1 U1 1080P 6 inch\r\n UDID 8-1-12\r\n Emulator 8.1 U1 qHD 5 inch\r\n UDID 8-1-13\r\n Emulator 8.1 WVGA 4 inch 512MB\r\n UDID 8-1-14\r\n Emulator 8.1 WVGA 4 inch\r\n UDID 8-1-15\r\n Emulator 8.1 WXGA 4.5 inch\r\n UDID 8-1-16\r\n Emulator 8.1 720P 4.7 inch\r\n UDID 8-1-17\r\n Emulator 8.1 1080P 5.5 inch\r\n UDID 8-1-18\r\n Emulator 8.1 1080P 6 inch\r\n UDID 8-1-19\r\n10.0\r\n Mobile Emulator 10.0.10586.0 WVGA 4 inch 512MB\r\n UDID 10-0-1\r\n Mobile Emulator 10.0.10586.0 WVGA 4 inch 1GB\r\n UDID 10-0-2\r\n Mobile Emulator 10.0.10586.0 WXGA 4.5 inch 1GB\r\n UDID 10-0-3\r\n Mobile Emulator 10.0.10586.0 720p 5 inch 1GB\r\n UDID 10-0-4\r\n Mobile Emulator 10.0.10586.0 1080p 6 inch 2GB\r\n UDID 10-0-5\r\n Mobile Emulator 10.0.10586.0 QHD 5.2 inch 3GB\r\n UDID 10-0-6\r\n\r\nWindows Phone Devices\r\n Device\r\n UDID 0\r\n\r\nAndroid Issues\r\n ! Unable to locate an Android NDK.\r\n Without the NDK, you will not be able to build native Android Titanium modules.\r\n If you have already downloaded and installed the Android NDK, you can tell Titanium where the\r\n Android NDK is located by running 'titanium config android.ndkPath /path/to/android-ndk',\r\n otherwise you can install it by running 'titanium setup android' or manually downloading from\r\n http://appcelerator.com/android-ndk.\r\n\r\n × Unable to locate an Android SDK.\r\n If you have already downloaded and installed the Android SDK, you can tell Titanium where the\r\n Android SDK is located by running 'titanium config android.sdkPath /path/to/android-sdk',\r\n otherwise you can install it by running 'titanium setup android' or manually downloading from\r\n http://appcelerator.com/android-sdk.\r\n", "comment": { "comments": [ { "id": "385755", "author": { "name": "nsalahin", "key": "nsalahin", "displayName": "Nazmus Salahin", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hello,\r\n\r\nThanks for reporting. However it is not possible for us to identify the cause of the crash with so little information. Please give us some more info. Let us know if you are using any module in your project. Give us tiapp.xml file of your project if it is not inconvenient. \r\n\r\nIf your can give us simple test case and step to reproduce it will be much more appreciated.\r\n\r\nThanks in advance", "updateAuthor": { "name": "nsalahin", "key": "nsalahin", "displayName": "Nazmus Salahin", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2016-05-16T05:59:11.000+0000", "updated": "2016-05-16T05:59:11.000+0000" }, { "id": "385756", "author": { "name": "sanchi1706@gmail.com", "key": "sanchi1706@gmail.com", "displayName": "Sanchi Varma", "active": true, "timeZone": "America/Los_Angeles" }, "body": "TiApp.xml : \r\n{code}\r\n\r\n\r\n com.mytest\r\n MyTest\r\n 1.0\r\n Test\r\n \r\n \r\n 2016 by Test\r\n appicon.png\r\n false\r\n false\r\n true\r\n 12345678-1234-1234-1234-12345678910\r\n dp\r\n \r\n true\r\n \r\n \r\n UISupportedInterfaceOrientations~iphone\r\n \r\n UIInterfaceOrientationPortrait\r\n \r\n UISupportedInterfaceOrientations~ipad\r\n \r\n UIInterfaceOrientationPortrait\r\n UIInterfaceOrientationPortraitUpsideDown\r\n UIInterfaceOrientationLandscapeLeft\r\n UIInterfaceOrientationLandscapeRight\r\n \r\n UIRequiresPersistentWiFi\r\n \r\n UIPrerenderedIcon\r\n \r\n UIStatusBarHidden\r\n \r\n UIStatusBarStyle\r\n UIStatusBarStyleDefault\r\n \r\n \r\n \r\n \r\n \r\n \t\r\n \t\t\r\n \r\n \r\n \r\n \r\n true\r\n true\r\n \r\n default\r\n \r\n \r\n ti.cloud\r\n \r\n \r\n false\r\n false\r\n true\r\n true\r\n true\r\n \r\n 5.2.2.GA\r\n \r\n ti.alloy\r\n \r\n 12345678912356789123456789\r\n https://secure-identity.cloud.appcelerator.com\r\n https://api.cloud.appcelerator.com\r\n 12345678912356789123456789\r\n 12345678912356789123456789\r\n 12345678912356789123456789\r\n appc_app_user_dev\r\n 12345678912356789123456789\r\n https://secure-identity.cloud.appcelerator.com\r\n https://api.cloud.appcelerator.com\r\n 12345678912356789123456789\r\n 12345678912356789123456789\r\n 12345678912356789123456789\r\n appc_app_user\r\n 12345678912356789123456789\r\n 1234567890\r\n 12345678-1234-1234-1234-12345678910123\r\n\r\n{code}\r\nIts a basic mobile app. Using *Alloy*, how can I build code base (currently written for android) in windows phone?\r\n", "updateAuthor": { "name": "nsalahin", "key": "nsalahin", "displayName": "Nazmus Salahin", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2016-05-16T06:14:29.000+0000", "updated": "2016-05-17T05:20:05.000+0000" }, { "id": "385784", "author": { "name": "sanchi1706@gmail.com", "key": "sanchi1706@gmail.com", "displayName": "Sanchi Varma", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi,\r\nI was able to build this with certain modifications to the code. \r\nThankyou.", "updateAuthor": { "name": "sanchi1706@gmail.com", "key": "sanchi1706@gmail.com", "displayName": "Sanchi Varma", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-05-16T12:09:34.000+0000", "updated": "2016-05-16T12:09:34.000+0000" }, { "id": "385863", "author": { "name": "nsalahin", "key": "nsalahin", "displayName": "Nazmus Salahin", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hello [~sanchi1706@gmail.com],\r\nAccording to your last comment I assume that you have solved the issue. So I am closing the issue.\r\n\r\nThanks for your cooperation ", "updateAuthor": { "name": "nsalahin", "key": "nsalahin", "displayName": "Nazmus Salahin", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2016-05-17T05:31:51.000+0000", "updated": "2016-05-17T05:31:51.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }