Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Donald_W_1
Beginner
52 Views

Build Error Help (XDK 3522)

Hello, 

On Intel XDK 3522 and I tried to build a project that was working (build was OK about a month ago).  But now, I get a build error when I tried to build the project the build now fails...  Not sure what happened, but if anyone can decipher the build log that'd be much appreciated.  Thanks in advance.

  

Tags (2)
0 Kudos
4 Replies
PaulF_IntelCorp
Employee
52 Views

In the future, please attach build logs as files, pasting them into a post makes it extremely difficult to inspect and analyze.

PaulF_IntelCorp
Employee
52 Views

The specific error of interest is this:

AAPT: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Colored'

Which is answered by this SO post > http://stackoverflow.com/questions/32075498/error-retrieving-parent-for-item-no-resource-found-that-... <

  • What Target Android API level is your app set to? I recommend setting it to 21 and trying the build again.
  • Which CLI version are you building with? If CLI 6.2.0, try using 5.4.1, or vice-versa.
Donald_W_1
Beginner
52 Views

Hi Paul, 

I'll give that a try.  Thanks!  I was able to find this post yesterday: https://software.intel.com/en-us/forums/intel-xdk/topic/709382

I was able to build again by changing the Cordova Diagnostic Plugin from v3.2 to v3.1.1.   Not sure if that's the best work around, but it works for now. 

 

PaulF_IntelCorp
Employee
52 Views

That Cordova diagnostics plugin will make an explicit requirement for Android 6.0. There is a special version of it that works on lesser versions of Android, called cordova.plugins.diagnostic.api-22 (you can find it here > https://www.npmjs.com/package/cordova.plugins.diagnostic.api-22).

Reply