Software Archive
Read-only legacy content
17061 Discussions

Android BUILD FAILED

m_messina
Beginner
375 Views

My app always has complied correctly.

I didn't compiled it for months. Now, i just tried to compile it and XDK give me the BUILD FAILED message.

The attachments show the compile log.

Does anybody know how to help me?

Thank you

0 Kudos
6 Replies
PaulF_IntelCorp
Employee
375 Views

Try updating the CLI version in the Build Settings to 5.4.1 and make sure the "optimize with Crosswalk" box is checked.

0 Kudos
m_messina
Beginner
375 Views

the CLI version already is 5.4.1 and "optimize with Crosswalk" box is checked

any other suggest?

0 Kudos
PaulF_IntelCorp
Employee
375 Views

It is likely being caused by a plugin. I recommend you do the following:

  • make a list of the plugins in your project
  • remove one plugin and attempt to rebuild
  • if the error persists, try above again
  • keep doing this until the build error disappears

Once you find the offending plugin, put the others back (leave out the suspected plugin) to confirm that only the identified plugin is the problem. From there, you can determine the next steps (a different version of the plugin, an alternative plugin, perhaps two plugins are conflicting, etc.).

0 Kudos
m_messina
Beginner
375 Views

the plugins i'm using now are the same i always used and them always have worked.

Perhaps the only difference is that today i installed and removed the git plugin "j3k0/cordova-plugin-purchase"

I removed it but perhaps somethings is still somewhere.

0 Kudos
PaulF_IntelCorp
Employee
375 Views

Did removing that plugin fix the build error?

0 Kudos
m_messina
Beginner
375 Views

the problem was one of the plugins (androidemail) the until a few month ago correctly worked

removing it the app compile

i don't understand but it is no more compatible

however, problem solved, thanks Paul

0 Kudos
Reply