Software Archive
Read-only legacy content
17061 Discussions

Android build failing

Douglas_Biazioli
Beginner
563 Views

Hello!

I'm running XDK 1995 and can't build my project to Android anymore. I think it's not a project error, because iOS builds are fine.

Anyone having the same issue?

 

0 Kudos
1 Solution
PaulF_IntelCorp
Employee
563 Views

@Douglas -- According to the error.log you provided, I see you are including the following plugins:

Iterating over installed plugins: [ 
  'org.apache.cordova.device',
  'org.apache.cordova.splashscreen',
  'org.apache.cordova.inappbrowser',
  'org.apache.cordova.dialogs',
  'com.connectivity.monitor',
  'com.admob.google',
  'org.apache.cordova.network-information',
  'org.apache.cordova.statusbar',
  'com.google.play.services' ]

There were some troubles yesterday with some builds that were including an admob plugin (there are more than one of them) that caused the build system to consume very large amounts of disk space. Yours could have been the one that caused that. What happens if you remove the admob plugin? Does the build work then?

@Gary, I'm not seeing any clues... Can you attach the full error.log? (Please do not past it into a thread, it is very difficult to scan that way.)

View solution in original post

0 Kudos
9 Replies
Amrita_C_Intel
Employee
563 Views

Hello,

Can you please send the zip file of your code? Because I tested it and it is working for me.

0 Kudos
Gary_H_2
New Contributor I
563 Views

Some of my Android project crosswalk builds have also started failing but other smaller projects still build. I verified my assets and I tried again but no luck. 

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.mainstreamdata.wispeodroid"
  • The App Name is "Wispeo"
  • Crosswalk Version: 10.39.235.15
  • Plugin "org.apache.cordova.device" (0.2.5) installed.
  • Plugin "org.apache.cordova.splashscreen" (0.2.5) installed.
  • Plugin "org.apache.cordova.statusbar" (0.1.9) installed.
  • Plugin "org.apache.cordova.contacts" (0.2.16) installed.
  • Plugin "org.apache.cordova.file" (1.3.3) installed.
  • Plugin "org.apache.cordova.file-transfer" (0.4.8) installed.
  • Plugin "cordova-plugin-network-information" (1.0.2-dev) installed.
  • Plugin "com.ionic.keyboard" (1.0.4) installed.
  • Plugin "nl.x-services.plugins.launchmyapp" (3.2.2) installed.
0 Kudos
PaulF_IntelCorp
Employee
564 Views

@Douglas -- According to the error.log you provided, I see you are including the following plugins:

Iterating over installed plugins: [ 
  'org.apache.cordova.device',
  'org.apache.cordova.splashscreen',
  'org.apache.cordova.inappbrowser',
  'org.apache.cordova.dialogs',
  'com.connectivity.monitor',
  'com.admob.google',
  'org.apache.cordova.network-information',
  'org.apache.cordova.statusbar',
  'com.google.play.services' ]

There were some troubles yesterday with some builds that were including an admob plugin (there are more than one of them) that caused the build system to consume very large amounts of disk space. Yours could have been the one that caused that. What happens if you remove the admob plugin? Does the build work then?

@Gary, I'm not seeing any clues... Can you attach the full error.log? (Please do not past it into a thread, it is very difficult to scan that way.)

0 Kudos
Gary_H_2
New Contributor I
563 Views

Where do I get the error log from? What I pasted was all i got.

0 Kudos
Douglas_Biazioli
Beginner
563 Views

@Paul the problem was the plugin, I'm using this one now: https://github.com/floatinghotpot/cordova-plugin-admob
And it's working fine. Thank you for your help!

 

@Gary

You can see a link to the log i1n the "Build Failed" page.

0 Kudos
Gary_H_2
New Contributor I
563 Views

There is no link that i can see.

 

0 Kudos
PaulF_IntelCorp
Employee
563 Views

@Gary -- the summary build log is what you pasted. There is also a detailed build log in a blue link. See this doc page: https://software.intel.com/en-us/xdk/docs/using-the-build-tab#buildcordovaapps

0 Kudos
Gary_H_2
New Contributor I
563 Views

No link on the page i get.

 

0 Kudos
PaulF_IntelCorp
Employee
563 Views

Gary -- can you successfully build a blank template or simple sample app? If so, go back to your app and start by removing plugins, one-by-one, until you find the one that is causing the problem (usually they are the suspect).
 

0 Kudos
Reply