- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The build failed. An error occurred while building the application. Verify your build assets are correct and try again.
Build Log:
The App ID is "com.sw.myappname"
The App Name is "my app name"
Crosswalk Version: 14.43.343.17
Plugin "org.apache.cordova.device" (0.2.13) installed.
Plugin "org.apache.cordova.splashscreen" (0.3.5) installed.
Plugin "com.rjfun.cordova.extension" (1.1.4) installed.
Plugin "org.apache.cordova.geolocation" (0.3.11) installed.
Plugin "org.apache.cordova.vibration" (0.3.12) installed.
Plugin "com.google.playservices" (19.0.0) installed.
Background
cordova cli 4.1.2
xdk version 2807
A few things I have tried to solve this.
making the android app id the same as the crosswalk app id, since this didn't
work, I made the app id different
I tried building with the shared(beta) versus imbedded version of crosswalk
runtime
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thought that I would add that I can do an android build just fine. This project was upgraded by xdk, and not a project that I built from scratch with the latest version of xdk. Just thought I would mention.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are you still experiencing an issue with building your project?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, the crosswalk build is failing still.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Switch the CLI version to 5.1.1 and try that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
just did that, i get a new error
The build failed.
An error occurred while building the application. Verify your build assets are correct and try again.
Build Log:
- Building a Cordova 5.1.1 application.
- The application name is "my app name"
- The package name is "com.myappname"
- Error: Plugin "Device" failed to install.
- Plugin "cordova-plugin-splashscreen" (2.1.0) installed.
- Plugin "cordova-plugin-console" (1.0.1) installed.
- Plugin "cordova-plugin-whitelist" (1.0.0) installed.
- Plugin "ionic-plugin-keyboard" (1.0.7) installed.
- Plugin "cordova-plugin-crosswalk-webview" (1.3.1) installed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you provide a ZIP file of a test app that reproduces this issue? ZIP the entire project directory and attach it to this thread using the "Attach Media" button below the editing window.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
So this is a project that was upgraded by xdk, my current build is 2807. I get both the whitelist error and the device error
The build failed. An error occurred while building the application. Verify your build assets are correct and try again.
Build Log:
Building a Cordova 5.1.1 application.
The application name is "xdktest2"
The package name is "com.xdktest2"
Error: Plugin "Device" failed to install.
Error: Plugin "Whitelist" failed to install.
Plugin "cordova-plugin-console" (1.0.2) installed.
Plugin "cordova-plugin-splashscreen" (2.1.0) installed.
Plugin "cordova-plugin-statusbar" (2.0.0) installed.
Plugin "ionic-plugin-keyboard" (1.0.7) installed.
Plugin "cordova-plugin-crosswalk-webview" (1.3.1) installed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Darrell -- I see that your project was created by Ionic CLI (which is a shim that sits on top of Cordova CLI, similar to how PhoneGap CLI works). Since Ionic CLI is Cordova CLI at the core, it adds plugins to the project using the Cordova CLI it installed on your system. Something seems to be happening with a few of the plugin installs that were part of your project and added by Ionic CLI.
The solution to the problem is:
- goto the Intel XDK plugin manager on the Projects tab
- remove the whitelist plugin (the XDK handles this automatically), using the XDK plugin manager
- remove and re-install any problem plugins (device, in this case), using the XDK plugin manager
- make sure the XDK CLI version is set to 5.1.1
- use the Crosswalk settings and build option for best results
It wouldn't hurt to remove and re-install ALL of the plugins, but be absolutely certain, but at minimum, you need to remove and re-install those that are causing an issue. Do not re-install the whitelist plugin, the XDK handles this automatically as a function of your whitelist settings (in the Build Settings section of the Projects tab).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have removed the whitelist plugin, and reinstalled the device plugin, and then did a build. I am getting strange behavior from xdk, the building progress spinner stays up a long time. I receive an email that the build was successful, but xdk building update spinner is still going. After a couple of minutes later the spinner(modal) closes, but I don’t get the build successful download now screen, I still see the build app now screen.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Further to my last comment, I did restart xdk, and tried again, and i got the same behavior. After the email comes in that the email comes in the build spinner modal stays up for a minute or two,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We've seen that behavior before, it has something to do with the build system front-end and the XDK getting out of sync. If you received the email that the build was complete you should be able to download the built file through that. You can also try downloading and installing the EA version, which has a completely redesigned build interface (in the XDK and in the cloud) that is meant to address many of those communication issues. You can install both versions on your system, at the same time, but you can only run one at a time. Best to open a copy of your app with the EA version, because it will make a few changes to your project, in case you still want to open your project in the old version of the XDK.
Here's a link for the EA details > https://software.intel.com/en-us/forums/intel-xdk/topic/606746
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
why Build is failed?
I tried a number of time but i failed.
help me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ALFAZ R. wrote:
why Build is failed?
Did you check the detailed build log? The last 20-30 lines usually contain a clue. If that does not make sense, then copy the build log into a text file and attach that text file to a forum post so we can take a closer look. BTW -- setting "targetSdkVersion" to 24 is not a good idea, it does not do what you think it does. I recommend setting it to 21 for best results.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page