Software Archive
Read-only legacy content
17060 Discussions

Android build failed

Hooman_F_1
Beginner
6,183 Views

Running XDK version 1995.  iOS build succeeds but Android fails.  I have tried signing/unsignging, but no difference.  I also have a 3rd party plugin and tried it with and without and it made no difference. This is all that's displayed:

The build failed.
An error occurred while building the application. Verify your build assets are correct and try again.
Build Log:
  • Building a Cordova 4.1.2 application.
  • The application name is "Bluetooth sample"
  • The package name is "com.newgr.gwst"
  • Preference android-signed set to true. Application will be signed.
0 Kudos
29 Replies
PaulF_IntelCorp
Employee
1,584 Views

I'm also having troubles with it. Will inform the build engineer. Should be working again by morning Eastern US time.

0 Kudos
Jannes_D_
Beginner
1,584 Views

Sill having the same problem. Is it only me or is it still a server-side issue?

0 Kudos
Arthur_N_
Beginner
1,584 Views

Hi, I am having the same issue :

It failed with the older cordova cli also, but it was working prior to today. Earlier today XDK said there was an updated version. I installed it, now I can't build any apps. I have a second app I am trying to build as well that also worked, same errors. PLEASE HELP.

 

 
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 "Mai Ride"
  • The package name is "com.mairide.app"
  • Plugin "cordova-plugin-inappbrowser" (1.0.1) installed.
  • Plugin "cordova-plugin-whitelist" (1.1.0) installed.
0 Kudos
John_H_Intel2
Employee
1,584 Views

What plugins do you have added to your project?

Can you try removing them and reuploading/building until you find out which plugin is causing the issue?

0 Kudos
Arthur_N_
Beginner
1,584 Views

I will try, right now there are only PhoneDialer(com.teamnemitoff.phonedialer) and InAppBrowser(cordova-plugin-inappbrowser) .

0 Kudos
Arthur_N_
Beginner
1,584 Views

JOHN H. Thank you, that did the trick with both applications. I was able to build them both after deleting the plugins, and adding them again.

On a side note. I was not able to delete the plugins thru the interface in XDK, Instead i had to open the xdk files in notepad and remove the plugin references manually, as well as the plugin directories in the project source file tree. I closed XDK while making the changes then opened it after making the manual changes.

The update that was released yesterday for XDK asked me to update my project source, when it did that it emptied the plugin directories, that was the problem. I didn't notice as they still showed installed in the build settings UI.

0 Kudos
John_H_Intel2
Employee
1,584 Views

Glad that got you going again :) We will have update soon that addresses some of the plugin issues during the update.

0 Kudos
Aakash_S_
Beginner
1,584 Views

where can i find the option to specify package name as i am getting the error in build as

Error: The package name must be composed of at least two sections separated by periods

0 Kudos
PaulF_IntelCorp
Employee
1,584 Views

That is your App ID on the Projects tab in the Build Settings.

0 Kudos
Reply