Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs have moved to the Altera Community. Existing Intel Community members can sign in with their current credentials.
17060 Discussions

Build Failed when trying to build to windows 8

Daniel_C_3
Beginner
792 Views

I tried searching the forums before I posted but I had no luck in finding a solution. I can build an android apk but it fails when I try to build to windows 8.

The build failed. An error occurred while building the application. Verify your build assets are correct and try again.

Windows 8 Build Log:

<!--break-->

Creating a new cordova project with name "84MobileCS" and id "not.yet.specified" at location "...\84MobileCS"
Using stock cordova hello-world application.
cordova library for "www" already exists. No need to download. Continuing.
Copying stock Cordova www assets into "...\84MobileCS\www"
Creating windows project...
Running command: C:\Windows\system32\config\systemprofile\.cordova\lib\npm_cache\cordova-windows\3.7.1\package\bin\create.bat ...\84MobileCS\platforms\windows not.yet.specified 84MobileCS
Creating Cordova Windows Project:
	App Name  : 84MobileCS
	Namespace : not.yet.specified
	Path      : ...\84MobileCS\platforms\windows
Copying template to ...\84MobileCS\platforms\windows
Command finished with error code 0: C:\Windows\system32\config\systemprofile\.cordova\lib\npm_cache\cordova-windows\3.7.1\package\bin\create.bat ...\84MobileCS\platforms\windows,not.yet.specified,84MobileCS
Calling plugman.prepare for platform "windows"
Preparing windows project
Processing configuration changes for plugins.
Iterating over installed plugins: []
Writing out cordova_plugins.js...
Calling plugman.fetch on plugin "...\pl.st.wcxrpp23.qt5\org.apache.cordova.device"
Copying plugin "...\pl.st.wcxrpp23.qt5\org.apache.cordova.device" => "...\84MobileCS\plugins\org.apache.cordova.device"
Calling plugman.install on plugin "...\84MobileCS\plugins\org.apache.cordova.device" for platform "windows" with options "{"cli_variables":{},"browserify":false,"nohooks":["."]}"
Installing "org.apache.cordova.device" for windows
Install start for "org.apache.cordova.device" on windows.
Beginning processing of action stack for windows project...
Parsing windows project files...
creating jsproj from project at : ...\84MobileCS\platforms\windows\CordovaApp.projitems
Action stack processing complete.
Writing out windows project files...
Preparing windows project
Processing configuration changes for plugins.
Iterating over installed plugins: [ 'org.apache.cordova.device' ]
Writing out cordova_plugins.js...
Install complete for org.apache.cordova.device on windows.
Calling plugman.fetch on plugin "...\pl.st.wcxrpp23.qt5\org.apache.cordova.splashscreen"
Copying plugin "...\pl.st.wcxrpp23.qt5\org.apache.cordova.splashscreen" => "...\84MobileCS\plugins\org.apache.cordova.splashscreen"
Calling plugman.install on plugin "...\84MobileCS\plugins\org.apache.cordova.splashscreen" for platform "windows" with options "{"cli_variables":{},"browserify":false,"nohooks":["."]}"
Installing "org.apache.cordova.splashscreen" for windows
Install start for "org.apache.cordova.splashscreen" on windows.
Beginning processing of action stack for windows project...
Parsing windows project files...
creating jsproj from project at : ...\84MobileCS\platforms\windows\CordovaApp.projitems
Action stack processing complete.
Writing out windows project files...
Preparing windows project
Processing configuration changes for plugins.
Iterating over installed plugins: [ 'org.apache.cordova.device',
  'org.apache.cordova.splashscreen' ]
Writing out cordova_plugins.js...
Install complete for org.apache.cordova.splashscreen on windows.
Calling plugman.fetch on plugin "...\pl.st.wcxrpp23.qt5\org.apache.cordova.inappbrowser"
Copying plugin "...\pl.st.wcxrpp23.qt5\org.apache.cordova.inappbrowser" => "...\84MobileCS\plugins\org.apache.cordova.inappbrowser"
Calling plugman.install on plugin "...\84MobileCS\plugins\org.apache.cordova.inappbrowser" for platform "windows" with options "{"cli_variables":{},"browserify":false,"nohooks":["."]}"
Installing "org.apache.cordova.inappbrowser" for windows
Install start for "org.apache.cordova.inappbrowser" on windows.
Beginning processing of action stack for windows project...
Parsing windows project files...
creating jsproj from project at : ...\84MobileCS\platforms\windows\CordovaApp.projitems
Action stack processing complete.
Writing out windows project files...
Preparing windows project
Processing configuration changes for plugins.
Iterating over installed plugins: [ 'org.apache.cordova.device',
  'org.apache.cordova.splashscreen',
  'org.apache.cordova.inappbrowser' ]
Writing out cordova_plugins.js...
Install complete for org.apache.cordova.inappbrowser on windows.
Generating config.xml from defaults for platform "windows"
Calling plugman.prepare for platform "windows"
Preparing windows project
Processing configuration changes for plugins.
Iterating over installed plugins: [ 'org.apache.cordova.device',
  'org.apache.cordova.splashscreen',
  'org.apache.cordova.inappbrowser' ]
Writing out cordova_plugins.js...
Running command: ...\84MobileCS\hooks\after_prepare\cordova_4.1.2.cmd ...\84MobileCS

...\84MobileCS>python .\hooks\after_prepare\python.code\cordova_4.1.2.py ...\84MobileCS 
NO stdout encoding...
NO stdout encoding after..
************* Processing the main config.xml file (after_prepare)  *****************
Platforms = windows
Platform = [windows]
2 arguments passed.
App Directory = [...\84MobileCS]
Current Directory = [.\hooks\after_prepare\python.code\cordova_4.1.2.py]
************* Processing the main config.xml file (after_prepare)  *****************
App Directory = [...\84MobileCS]
Will process and update the following config files:
    Config.xml = [...\84MobileCS\config.xml]
Namespaces:
    prefix/uri ''/'http://www.w3.org/ns/widgets'
    prefix/uri 'intelxdk'/'http://xdk.intel.com/ns/v1'
getting into a windows manifest
Windows8 Manifest Namespaces:
    prefix/uri ''/'http://schemas.microsoft.com/appx/2010/manifest'
Processing windows configuration items.
Name of the app is [84MobileCS]
    Deleting [...\84MobileCS\platforms\windows\images\SplashScreen.scale-100.png]
    Deleting [...\84MobileCS\platforms\windows\images\SplashScreenPhone.scale-240.png]
    Deleting [...\84MobileCS\platforms\windows\images\Square150x150Logo.scale-100.png]
    Deleting [...\84MobileCS\platforms\windows\images\Square150x150Logo.scale-240.png]
    Deleting [...\84MobileCS\platforms\windows\images\Square30x30Logo.scale-100.png]
    Deleting [...\84MobileCS\platforms\windows\images\Square310x310Logo.scale-100.png]
    Deleting [...\84MobileCS\platforms\windows\images\Square44x44Logo.scale-240.png]
    Deleting [...\84MobileCS\platforms\windows\images\Square70x70Logo.scale-100.png]
    Deleting [...\84MobileCS\platforms\windows\images\Square71x71Logo.scale-240.png]
    Deleting [...\84MobileCS\platforms\windows\images\StoreLogo.scale-100.png]
    Deleting [...\84MobileCS\platforms\windows\images\StoreLogo.scale-240.png]
    Deleting [...\84MobileCS\platforms\windows\images\Wide310x150Logo.scale-100.png]
    Deleting [...\84MobileCS\platforms\windows\images\Wide310x150Logo.scale-240.png]
Searching for images in [...\84MobileCS\hooks\Images.windows.4.1.2\*.png]
    Copying [...\84MobileCS\platforms\windows\images\SplashScreen.scale-100.png]
    Copying [...\84MobileCS\platforms\windows\images\Square150x150Logo.scale-100.png]
    Copying [...\84MobileCS\platforms\windows\images\Square30x30Logo.scale-100.png]
    Copying [...\84MobileCS\platforms\windows\images\StoreLogo.scale-100.png]
Looking for [{http://www.w3.org/ns/widgets}preference]
Processing preference permissions
    prefix/uri ''/'http://schemas.microsoft.com/developer/msbuild/2003'
    prefix/uri ''/'http://schemas.microsoft.com/developer/msbuild/2003'
Saving config.xml to [...\84MobileCS\config.xml]
************* Completed processing the main config.xml file (after_prepare)  *****************
Command finished with error code 0: ...\84MobileCS\hooks\after_prepare\cordova_4.1.2.cmd ...\84MobileCS
skipped directory "...\84MobileCS\hooks\after_prepare\python.code" within hook directory
Updating settings....

...\84MobileCS>python .\hooks\after_prepare\python.code\cordova_4.1.2.py "...\84MobileCS" "...\84MobileCS" 
NO stdout encoding...
NO stdout encoding after..
************* Processing the main config.xml file (after_prepare)  *****************
Platforms = windows
Platform = [windows]
3 arguments passed.
App Directory = [...\84MobileCS]
Current Directory = [.\hooks\after_prepare\python.code\cordova_4.1.2.py]
************* Processing the main config.xml file (after_prepare)  *****************
App Directory = [...\84MobileCS]
Will process and update the following config files:
    Config.xml = [...\84MobileCS\config.xml]
Namespaces:
    prefix/uri ''/'http://www.w3.org/ns/widgets'
    prefix/uri 'intelxdk'/'http://xdk.intel.com/ns/v1'
getting into a windows manifest
Windows8 Manifest Namespaces:
    prefix/uri ''/'http://schemas.microsoft.com/appx/2010/manifest'
Processing windows configuration items.
Name of the app is [84MobileCS]
    Deleting [...\84MobileCS\platforms\windows\images\SplashScreen.scale-100.png]
    Deleting [...\84MobileCS\platforms\windows\images\Square150x150Logo.scale-100.png]
    Deleting [...\84MobileCS\platforms\windows\images\Square30x30Logo.scale-100.png]
    Deleting [...\84MobileCS\platforms\windows\images\StoreLogo.scale-100.png]
Searching for images in [...\84MobileCS\hooks\Images.windows.4.1.2\*.png]
    Copying [...\84MobileCS\platforms\windows\images\SplashScreen.scale-100.png]
    Copying [...\84MobileCS\platforms\windows\images\Square150x150Logo.scale-100.png]
    Copying [...\84MobileCS\platforms\windows\images\Square30x30Logo.scale-100.png]
    Copying [...\84MobileCS\platforms\windows\images\StoreLogo.scale-100.png]
Looking for [{http://www.w3.org/ns/widgets}preference]
Processing preference permissions
    prefix/uri ''/'http://schemas.microsoft.com/developer/msbuild/2003'
    prefix/uri ''/'http://schemas.microsoft.com/developer/msbuild/2003'
Saving config.xml to [...\84MobileCS\config.xml]
************* Completed processing the main config.xml file (after_prepare)  *****************
Running command: ...\84MobileCS\platforms\windows\cordova\build.bat --release --win --verbose
Applying Platform Config...
MSBuildToolsPath: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\
Building project: ...\84MobileCS\platforms\windows\CordovaApp.vs2012.sln
	Configuration : release
	Platform      : anycpu
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
MakePRI : warning 0xdef00522: Resources found for language(s) 'de, es, fr, it, ja, ko, pl, ru' but no resources found for default language(s): 'en-US'. Change the default language or qualify resources with the default language. http://go.microsoft.com/fwlink/?LinkId=231899 [...\84MobileCS\platforms\windows\CordovaApp.Windows80.jsproj]
MakePRI : warning 0xdef00522: Resources found for language(s) 'de, es, fr, it, ja, ko, pl, ru' but no resources found for default language(s): 'en-US'. Change the default language or qualify resources with the default language. http://go.microsoft.com/fwlink/?LinkId=231899 [...\84MobileCS\platforms\windows\CordovaApp.Windows80.jsproj]
MakePRI : warning 0xdef00522: Resources found for language(s) 'de, es, fr, it, ja, ko, pl, ru' but no resources found for default language(s): 'en-US'. Change the default language or qualify resources with the default language. http://go.microsoft.com/fwlink/?LinkId=231899 [...\84MobileCS\platforms\windows\CordovaApp.Windows80.jsproj]
  CordovaApp.Windows80 -> ...\84MobileCS\platforms\windows\AppPackages\CordovaApp.Windows80_0.0.0.1_AnyCPU_Test\CordovaApp.Windows80_0.0.0.1_AnyCPU.appx
  CordovaApp.Windows80 -> ...\84MobileCS\platforms\windows\AppPackages\CordovaApp.Windows80_0.0.0.1_AnyCPU.appxupload
  Your package has been successfully created.
Command finished with error code 0: ...\84MobileCS\platforms\windows\cordova\build.bat --release,--win,--verbose
0 Kudos
3 Replies
Elroy_A_Intel
Employee
792 Views

It seems that your App ID hasn't been set for Windows 8. You can update your App ID under Projects > Cordova Hybrid Mobile App Settings > Build Settings > App ID. Are you still experiencing building Windows 8 apps?

0 Kudos
Jaap_v_
New Contributor I
792 Views

Running in this same error when trying to build with XDK 2248 to windows 8 (and I did enter a valid app ID)

.......
http://go.microsoft.com/fwlink/?LinkId=231899 [...\FD2\platforms\windows\CordovaApp.Windows80.jsproj]
  CordovaApp.Windows80 -> ...\FD2\platforms\windows\AppPackages\CordovaApp.Windows80_0.0.0.1_AnyCPU_Test\CordovaApp.Windows80_0.0.0.1_AnyCPU.appx
  CordovaApp.Windows80 -> ...\FD2\platforms\windows\AppPackages\CordovaApp.Windows80_0.0.0.1_AnyCPU.appxupload
  Your package has been successfully created.
Command finished with error code 0: ...\FD2\platforms\windows\cordova\build.bat --release,--win,--verbose

 

0 Kudos
Jaap_v_
New Contributor I
792 Views

I've tried it again today with the same settings and now XDK report a successfull build!

 

0 Kudos
Reply