Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

"Can't find variable: Alloy" Error porting Alloy app in Windows Phone

$
0
0

Hi,

i recently installed the new Appcelerator Studio and i tried to run an application in windows phone:

The Studio install correctly the application in the emulator and lauches it: in fact i can see in the application log some debug lines then i get the error:

Error while require(./app) Can't find variable: Alloy"

This is the application log:

[INFO] :   Installing and launching the application
[INFO] :   Project built successfully in 42s 763ms
[INFO] :   Connected to app
-- Start application log -----------------------------------------------------
[INFO] :   DEBUG COORDINATES: :
[INFO] :   DEBUG ADDRESS: :
[INFO] :   CUSTOMER_ID:0
[INFO] :   internet connection ok
[ERROR] :  Application Error: {
[ERROR] :    "message": "Error while require(./app) Can't find variable: Alloy",
[ERROR] :    "native_stack": [
[ERROR] :      "JSExportClass<class Titanium::GlobalObject>::CallNamedFunction"
[ERROR] :    ],
[ERROR] :    "stack": "require@[native code]\nglobal code",
[ERROR] :    "line": 2
[ERROR] :  }
[INFO] :   Finished launching the application
[INFO] :   Waiting for app to connect to log relay
-- End application log -------------------------------------------------------
TRACE  | titanium exited with exit code 0
This application was built using Alloy with the previous version of titanium Studio and 3.5.1 sdk. I imported it in Appcelerator Studio and changed titanium SDK to 4.1.0 GA:

on Android and Ios devices the app still works well but if I run it on Windows Phone Emulator i get the error.

Thank you

Carlo


Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>