[AC-3629] Android base appcelerator app not running in Windows Phone
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2016-05-17T05:32:29.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | Sanchi Varma |
Assignee | Shak Hossain |
Created | 2016-05-16T05:35:38.000+0000 |
Updated | 2016-05-17T05:32:29.000+0000 |
Description
I have made a mobile app in appcelerator currently for Andriod.
I wish to run this on windows phone as well.
To build this I use :
appc run -p windows --target wp-emulator --deploy-time development --device-id 8-1-1
And emulator : _Emulator 8.1 WVGA 4 inch_
Now, The project is build is successful. But the application instantly crashes as soon as it launches.
Log :
[INFO] Generating Native Type Wrappers
[INFO] Setting up native modules for CMakeLists.txt...
[INFO] Writing appxmanifest C:\Users\Neha\.titanium\vsbuild\MyTest\Package.store.appxmanifest.in
[INFO] Writing appxmanifest C:\Users\Neha\.titanium\vsbuild\MyTest\Package.phone.appxmanifest.in
[INFO] Writing appxmanifest C:\Users\Neha\.titanium\vsbuild\MyTest\Package.win10.appxmanifest.in
[INFO] Writing CMakeLists.txt: C:\Users\Neha\.titanium\vsbuild\MyTest\CMakeLists.txt
[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
[INFO] -- Found GTest: C:/Users/Neha/gtest/msvc/gtest-md/Debug/gtest.lib
[INFO] -- Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE)
[INFO] -- Configuring done
[INFO] -- Generating done
[INFO] -- Build files have been written to: C:/Users/Neha/.titanium/vsbuild/MyTest/phone.x86
[INFO] Running MSBuild on solution: C:\Users\Neha\.titanium\vsbuild\MyTest\phone.x86\MyTest.sln
[INFO] Windows Phone emulator is ready
[INFO] Writing build manifest: C:\Users\Neha\.titanium\vsbuild\MyTest\build-manifest.json
[INFO] Copying results back to project build directory
[INFO] Finished building the application in 2m 6s 959ms
[INFO] Finished building the application in 2m 6s 959ms
[INFO] Installing and launching the application
[INFO] Project built successfully in 2m 6s 976ms
[INFO] Connected to app
-- Start application log -----------------------------------------------------
[INFO] Inside manahe view
[INFO] End of manage view before open
[INFO] End of manage view after open
[INFO] Finished launching the application
[INFO] Waiting for app to connect to log relay
[INFO] Disconnected from app
-- End application log -------------------------------------------------------
Please help on how to build Windows phone app with android based appcelerator code using Alloy.
Hello, Thanks 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. If your can give us simple test case and step to reproduce it will be much more appreciated. Thanks in advance
TiApp.xml :
Its a basic mobile app. Using *Alloy*, how can I build code base (currently written for android) in windows phone?
Hi, I was able to build this with certain modifications to the code. Thankyou.
Hello [~sanchi1706@gmail.com], According to your last comment I assume that you have solved the issue. So I am closing the issue. Thanks for your cooperation