Software Archive
Read-only legacy content
17061 Discussions

Project file broken after upgrade to 2496

David_B_12
Beginner
714 Views

This upgrade is not good.  After installing it automatically tried to upgrade the project and failed.

Now, after restarting and trying to load the project I just get this error:

Error opening project

Could not read C:\Users\blah.xdk

TypeError: Invalid Version:

-------------------------------------

So I tried to uninstall XDK.  That failed too:

"Intel XDK Setup Wizard ended prematurely because of an error(s)."

I now stuck with a non-working build platform that I can't even uninstall.

UPDATE ON FAILED UNINSTALL:  I think that not running the installer again as Admin may cause this.  I was able to uninstall and then reinstall after using run as Admin.

------------------------------------

UPDATE ON BROKEN PROJECT FILE:  I managed to get this working again.  The project migration is flawed in that as soon as it starts, it copies the 2 project files and sets the version to 2.0.  The problem is that if the migration files and you try to load the new project file, it fails with an invalid version error.  I found the problem was there was a missing cordova splashscreen folder in the projects folder which was being referenced by the android.json,  ios.json, windows.json, wp8.json filaes in the /plugins folder.

The trick was to restore the original project files (with version 1.2 at the top of the json) and also remove the reference to the splashscreen plugin in the 4 json files mentioned in previous paragraph.  This time loading the project starts the migration process again and worked.

 

 

 

0 Kudos
4 Replies
Anusha_M_Intel1
Employee
714 Views

Hi David,

So It looks like it was not the project settings that was the issue. But I have a fixed version of your .xdk file attached. It looked like the upgrade process had some trouble converting the latest version of your third party plugins. Something I will have to look into further to identify the source of the problem. 

0 Kudos
Anusha_M_Intel1
Employee
714 Views

I just saw your updated post. Glad you were able to find a workaround.

The .xdk file I attached is with the upgraded proj settings 2.0.0. 

0 Kudos
Adam_L_1
Beginner
714 Views

Hello,
I've got the same. I fix it by open xdk file and see of plugins declaration. Then compare it with plugins in "plugins" folder and remove from xdk file these which are not listining in "plugins" folder. I open project and add missing pluging using IntelXDK software.
 

0 Kudos
Amrita_C_Intel
Employee
714 Views

That is great!

0 Kudos
Reply