10-12-2012 08:52 PM
As topic says. I am trying to debug the Weather Guesser app from the samples. It works perfectly on the simulator but doesn't run on the desktop with the following error:
Process terminated without establishing connection to debugger.
initial content not found
Launch command details: "C:\Program Files (x86)\Adobe\Adobe Flash Builder 4.6\sdks\4.6.0\bin\adl.exe" -runtime "C:\Program Files (x86)\Adobe\Adobe Flash Builder 4.6\sdks\4.6.0\runtimes\air\win" -profile extendedMobileDevice -screensize 768x1280:768x1280 -XscreenDPI 356 -XversionPlatform QNX -extdir "C:\Program Files (x86)\..\Blackberry 10\.metadata\.plugins\com.adobe.flexbuilder.projec
I only replaced with ".." some part from the full paths above.
Does anyone have a clue how to fix this ? I really need to test this on desktop cause debuging on the simulator takes ages.
Thanks in advance!
10-15-2012 04:25 AM
I know it is for FDT but that's not the editor of my choosing and since there is no version for FB I did some work and got it to build correctly without any errors and run in the simulator. I even found a few bugs in the app and the bb 10 sdk but that's another topic. The question is how to fix the error I mentioned above, while having in mind that the project does build correctly and does run in the simulator, just not the AIR desktop debugger.
Just to test I created my own simple app, put a bb 10 sdk list component there with some data and I tested it in the AIR desktop debugger and it did work. So I am not sure what's the problem with the Weather Guesser app.
10-15-2012 07:41 AM
10-15-2012 08:09 AM
QNXSkins.ane is the only ANE that my package explorer says it is actually used inside this project, the other three anes are not. I don't really know what and how is used or called from it since I am trying to run this sample app which is not mine - so i don't know how ANEs are used exactly yet. I only know that even though I comment out everything from the main app file and try to run it - nothing is used or called and it still gives me this error. The same configuration runs with my AIRHelloWorld app. The only difference I can see right now is the different packaging - the main app file AIRHelloWord.as is in src of the project and the WeatherGuesser main file is in src/qnx/samples/weatherguesser.
10-15-2012 10:33 AM
10-15-2012 10:48 AM
Hi, what you are talking about is debugging on the simulator. I've already mentioned that it works, it autodiscovers it runs and debugs successfully there. And I want the app to work in Flash Builder's AIR desktop debugger. I set it to use the Blackberry 10 dev alpha device configuration and an error is shown. I just tried running it instead of debugging it as you requested - it doesn't work -> Process terminated unexpectedly. The rest of the message is the same as the error with the debugger.
10-15-2012 11:24 AM
10-15-2012 12:23 PM
So if you are correct about this, I guess there is no way to test the application on the desktop? Is there some way to make this work, maybe ANES can be downloaded from somewhere as libraries to use for development and when in production to switch to the ANES? I'm not sure if I make any sense but my point is - is there a way to debug on the AIR desktop with ANES in use?
10-15-2012 01:01 PM