- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, I updated to V2496 and now I cant open some projects. Before the Update I worked on one project which I can't open anymore.
XDK says that the project could't be found. And I should refresh the list or remove the item.
I have tried both options. When I removed it and tried to open it again (Projects -> open an intel xdk project) it pops up the error:
"Error opening project. Could not read (Path). TypeError: undefined is not a function.
Before the update everything worked fine.
PS I am working on Mac OSX Yosemite 10.10.3
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When you try to import a new XDK project, are you navigating to your .xdk file and opening that? If it still throws an error, It is possible that during the update your project file settings has been affected. Could you send me your .xdk file? I can verify if that is the case.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Awesome :) It worked! Thank you so much for your quick help!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hey all,
I also upgrade to the newer version and still facing the same issue . I have checke the projectSettingVersion and in my case its a string .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Here is my xdk file
{ "project": { "projectSettingsVersion": "2.0.0", "creationData": { "type": "App Designer", "projectTypeName": "com.intel.xdk.projecttype.jsapp", "src": "appDesigner", "projectGuid": "26db03d7-6e3a-414b-b366-64a5c5826cc1", "lastModifiedDate": 1443679973801, "creationDate": 1439272006101 }, "XDK-app-designer": "true", "sourceDirectory": "www", "startFile": "index.html", "projectFiles": {}, "projectDirectories": {}, "libraries": [], "serviceMethods": [], "cordovaPluginsDirectory": "plugins", "cordovaPlugins": [ { "id": "org.apache.cordova.device-motion", "version": "0.2.11", "selectedState": "Included", "data": {}, "paramvals": {}, "dependsOn": [], "dependedBy": [], "originType": "cordova.io", "origin": "org.apache.cordova.device-motion", "permissions": {} }, { "id": "org.apache.cordova.contacts", "version": "0.2.15", "selectedState": "Included", "data": {}, "paramvals": {}, "dependsOn": [], "dependedBy": [], "originType": "cordova.io", "origin": "org.apache.cordova.contacts", "permissions": {} }, { "id": "org.apache.cordova.device", "version": "0.2.13", "selectedState": "Included", "data": {}, "paramvals": {}, "dependsOn": [], "dependedBy": [], "originType": "cordova.io", "origin": "org.apache.cordova.device", "permissions": {} }, { "id": "org.apache.cordova.contacts", "version": "", "selectedState": "Included", "data": {}, "paramvals": {}, "dependsOn": [], "dependedBy": [], "custom": "true", "name": "Contacts", "origin": "org.apache.cordova.contacts", "originType": "cordova.io", "sourceLocation": "", "permissions": {} } ], "buildConfigurations": { "Android-Crosswalk": { "platform_": "android", "runtime_": "Crosswalk with Cordova 3.x", "name_": "Android-Crosswalk", "preferences_": { "android-minSdkVersion": "14", "android-targetSdkVersion": "19", "android-installLocation": "auto" }, "isActive_": true, "appName_": "ditsmobile", "appID_": "xdk.intel.blank.ad.template.crosswalk", "appAccess_": { "mode": "legacy", "network": [ "*" ], "intents": [], "navigation": [] }, "icons_": [], "splashes_": [], "addlPermissions_": "", "excludedLibraries_": "", "iosProvs_": [], "cordovaCLIVersion_": "4.1.2", "crosswalkVersion_": "11", "appVersion_": "0.0.1", "appAuthor_": "Intel XDK", "appDescription_": "Template to develop a Cordova mobile web app using the App Designer UI editor.", "appVersionCode_": "1" }, "Android": { "platform_": "android", "runtime_": "Cordova 3.x", "name_": "Android", "preferences_": { "android-minSdkVersion": "10", "android-targetSdkVersion": "19", "android-installLocation": "auto" }, "isActive_": true, "appName_": "ditsmobile", "appID_": "xdk.intel.blank.ad.template", "appAccess_": { "mode": "legacy", "network": [ "*" ], "intents": [], "navigation": [] }, "icons_": [ { "relPath": "images/icon_36.png", "density": "ldpi", "height": 36, "width": 36 }, { "relPath": "images/icon_48.png", "density": "mdpi", "height": 48, "width": 48 }, { "relPath": "images/icon_72.png", "density": "hdpi", "height": 72, "width": 72 }, { "relPath": "images/icon_96.png", "density": "xhdpi", "height": 96, "width": 96 } ], "splashes_": [], "addlPermissions_": "", "excludedLibraries_": "", "iosProvs_": [], "cordovaCLIVersion_": "4.1.2", "crosswalkVersion_": "11", "appVersion_": "0.0.1", "appAuthor_": "Intel XDK", "appDescription_": "Template to develop a Cordova mobile web app using the App Designer UI editor.", "appVersionCode_": "1" }, "iOS": { "platform_": "ios", "runtime_": "Cordova 3.x", "name_": "iOS", "preferences_": { "ios-target": "6", "ios-configuration": "adhoc" }, "isActive_": true, "appName_": "ditsmobile", "appID_": "xdk.intel.blank.ad.template", "appAccess_": { "mode": "legacy", "network": [ "*" ], "intents": [], "navigation": [] }, "icons_": [], "splashes_": [], "addlPermissions_": "", "excludedLibraries_": "", "iosProvs_": [], "cordovaCLIVersion_": "4.1.2", "crosswalkVersion_": "11", "appVersion_": "0.0.1", "appAuthor_": "Intel XDK", "appDescription_": "Template to develop a Cordova mobile web app using the App Designer UI editor." }, "Windows8": { "platform_": "windows8", "runtime_": "Cordova 3.x", "name_": "Windows8", "preferences_": { "windows-publisher-display-name": "", "windows-publisher-id": "" }, "isActive_": true, "appName_": "ditsmobile", "appID_": "xdk.intel.blank.ad.template", "appAccess_": { "mode": "legacy", "network": [ "*" ], "intents": [], "navigation": [] }, "icons_": [], "splashes_": [], "addlPermissions_": "", "excludedLibraries_": "", "iosProvs_": [], "cordovaCLIVersion_": "4.1.2", "crosswalkVersion_": "11", "appVersion_": "0.0.0.1", "appAuthor_": "Intel XDK", "appDescription_": "Template to develop a Cordova mobile web app using the App Designer UI editor." }, "WebApp": { "platform_": "webapp", "runtime_": "W3C", "name_": "WebApp", "preferences_": {}, "isActive_": false, "appName_": "ditsmobile", "appID_": "not.yet.specified", "appAccess_": { "mode": "legacy", "network": [ "*" ], "intents": [], "navigation": [] }, "icons_": [], "splashes_": [], "addlPermissions_": "", "excludedLibraries_": "", "appAuthor_": "Intel XDK", "appVersion_": "0.0.1" }, "Chrome": { "platform_": "chromeos", "runtime_": "W3C on Chrome OS", "name_": "Chrome", "preferences_": {}, "isActive_": false, "appName_": "ditsmobile", "appID_": "not.yet.specified", "appAccess_": { "mode": "legacy", "network": [ "*" ], "intents": [], "navigation": [] }, "icons_": [], "splashes_": [], "addlPermissions_": "", "excludedLibraries_": "", "appAuthor_": "Intel XDK", "appVersion_": "0.0.1" }, "Firefox": { "platform_": "firefoxos", "runtime_": "W3C on Firefox OS", "name_": "Firefox", "preferences_": {}, "isActive_": false, "appName_": "ditsmobile", "appID_": "not.yet.specified", "appAccess_": { "mode": "legacy", "network": [ "*" ], "intents": [], "navigation": [] }, "icons_": [], "splashes_": [], "addlPermissions_": "", "excludedLibraries_": "", "appAuthor_": "Intel XDK", "appVersion_": "0.0.1" }, "Facebook": { "platform_": "facebook", "runtime_": "W3C on Facebook", "name_": "Facebook", "preferences_": {}, "isActive_": false, "appName_": "ditsmobile", "appID_": "not.yet.specified", "appAccess_": { "mode": "legacy", "network": [ "*" ], "intents": [], "navigation": [] }, "icons_": [], "splashes_": [], "addlPermissions_": "", "excludedLibraries_": "", "appAuthor_": "Intel XDK", "appVersion_": "0.0.1" }, "WP81": { "platform_": "wp81", "runtime_": "Cordova 3.x", "name_": "WP81", "preferences_": {}, "isActive_": true, "appName_": "ditsmobile", "appID_": "not.yet.specified", "appAccess_": { "mode": "legacy", "network": [], "intents": [], "navigation": [] }, "icons_": [], "splashes_": [], "addlPermissions_": "", "excludedLibraries_": "", "appVersion_": "0.0.0.1", "cordovaCLIVersion_": "5.1.1" } }, "gameAssetDirectory": "asset", "gameMetadata": {}, "projectTags": [], "testDirectory": "test" } }
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you zip and attach your project files, including the .xdk files?
You dont need to include all your source code, just a simple index.html. I want to try importing it and see what happens.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Okay, so I tried your .xdk file. And I was able to import it just fine. What I would suggest you try now is:
- Delete the project from your Intel XDK if it is already there.
- Navigate to the project directory and delete the project.xdke file and the plugins folder (if they are there).
- Launch XDK
- Select Open an Intel XDK Project from Projects tab.
- Navigate to the .xdk file in your project directory and see if it opens it
If that doesn't work, try changing
"projectSettingsVersion": "2.0.0", to "projectSettingsVersion": "1.2", and see if it imports now.
If neither works, please attach your project in the format John has asked.
P.S: In the future, it would be much easier for us if you attach the file than copy paste :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
After the project got succesfully imported I noticed that the lack of version number in your contacts plugin is causing some issues.
057 |
{ |
058 |
"id": "org.apache.cordova.contacts", |
059 |
"version": "", |
060 |
|
Try adding the latest version number there. 1.1.1-dev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks alot Anusha. You method worked perfectly.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page