Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17060 Discussions

New Update -- app crashes everytime i try to run it now. no code change

Bradley_E_
Beginner
500 Views

attached is the console below. As you can see the error messages that you claim " mean nothing" are obviously there, but i also have two other errors, uncaught expression #, and a plugin_list that is apparently missing. NONE OF THIS HAPPENED YESTERDAY. I have tested this project for months now with no problems like this... but now when i open my project --> emulate -- > login into my app to continue to my next page --> XDK CRASHES. And it doesnt say why.

I have tried to use some of my other apps in teh new XDK and most seem to work fine. But those apps are not calling web services from another server. When i click login on my app, it send information to the server via AJAX POST and sends it back to the app in order to tell it whether to move to the next screen. As of right now, When i click "login" , the INTEL XDK startup splash screen pops up INSIDE the app while emulating, and then it crashes and gives me the same dialogs inside the app as it does in windows application of  XDK...it asks me to safe restart or not, i click yes, it closes and then XDK closes completely with an Error log asking me to send intel information on what happened. 

I have it working on another computer in the old version just fine. I havent tried to build yet with the previous version, but ihave a feeling that wont work now either. So for the time being i will have to work on that computer and not upgrade. But this is still a major inconvenience. Nothing changed in my project. I updated XDK, and now my project explodes. 

I'm very experienced with the corks of XDK and how to get things to run, in this case i havent been able to figure out what to do. Another member of my office upgraded and had similar problems with his app as well, so im writing for both of us. 

Someone please email me or respond to the and let me know what might be going on. 

 

2015-02-23_1750.png

0 Kudos
3 Replies
PaulF_IntelCorp
Employee
500 Views

The build system is an independent tool, that is hosted in the cloud, so your builds will be fine. We include now a new build version (4.1.2) but you can still specify the old version (3.5) which will give identical results. If you reset your plugin version numbers you may see some differences (usually an improvement) but you also do not need to change the plugin versions and can continue to use them.

It sounds like all the issues are really related to the Emulate tab. I recommend you do your debugging with the Debug tab to determine what is an Emulate issue and what is an app issue.

One change that could impact you is the way you specify a whitelist, in CLI 4.1.2 specifying "*" no longer means also allow Android intents. But that would only affect a build made with 4.1.2 and only if you are using intents. If you are only referencing standard web URLs (http and https) the change will be transparent. Note that this is a change in the way Cordova handles white listing, beginning with Android Cordova platform version 3.6, which is what's inside the Cordova 4.1.2 build (confusing, due to a change by the Cordova project to their versioning process).

0 Kudos
Bradley_E_
Beginner
500 Views

I built the app and also reset the plugins. I have tried the emulator multiple times, i have also tried using the "testing" tab with no luck. So i built the app for my iphone which will overwrite the version that i had working, which means if it doesnt work i wont have a working version anymore. Installed the app afte rit build, i tried to login , and the web service AJAX POST sent back "could not verify network"

So no.... Building or testing the app will not work. 

Im not doing anything that hasnt already been done in my app. I take pictures with it, i call web services to return data and build listviews with data. I add things to a remote database. I use the canvas to resize pictures sometimes. But When i login the whole thing literally fails. 

I also noticed that on my "Design" screen that when i open up design view, my "#mainpage" now shows like 20 sub pages and also has links on the right hand side to every singe menu in the app, including menus that dont apply to the #mainpage. Everything is blowing up.

I used the Debug tab as well, and it has also sent back errors that have never appeared before either. The simple AJAX call to my login webservice blows up the debugger and shuts down XDK all together....

I appreciate your response, but none of it will fix, or explain what has happened. I have done circles to try and troubleshoot the problem. My backup laptop still has yesterdays version of teh app and is running perfect inside the previous version of XDK.... I may try to rebuild off of that in the meantime, but obviously that is also not a good solution. 

0 Kudos
Swati_S_Intel1
Employee
500 Views

Hello Brad,

Please see my note in the other thread : https://software.intel.com/en-us/forums/topic/542014

thanks,

Swati

0 Kudos
Reply