- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
.../cordova_project/platforms/android/build/intermediates/res/merged/release/values-v24/values-v24.xml:3 : AAPT: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Borderless.Colored'. .../cordova_project/platforms/android/build/intermediates/res/merged/release/values-v24/values-v24.xml:4 : AAPT: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Colored'. :processReleaseResources FAILED :processReleaseResources (Thread[main,5,main]) completed. Took 0.279 secs. FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':processReleaseResources'. > com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '.../android-sdk/build-tools/25.0.0/aapt'' finished with non-zero exit value 1
- Tags:
- HTML5
- Intel® XDK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I downloaded 3.1.7 and made the following changes to the "android" section of plugin.xml file:
<!-- comment these out so that we can pin to API level 23 for XDK --> <!-- <framework src="com.android.support:support-v4:+" /> <framework src="com.android.support:appcompat-v7:+" /> --> <!-- add these so that we're pinned to API level 23 for XDK --> <framework src="com.android.support:support-v4:23.+" /> <framework src="com.android.support:appcompat-v7:23.+" />
I will remove the existing plugin and add the modified 3.1.7 as a 3rd party plugin and try a build tomorrow... and post the results here.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When I try to build for android Intel XDK close without shows any error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Phil -- are you using the diagnostics plugin? See this forum thread > https://software.intel.com/en-us/forums/intel-xdk/topic/709648 < and this one > https://software.intel.com/en-us/forums/intel-xdk/topic/709382 <
Some plugins require a specific version of Android to build against (e.g., Android 6 or higher), which our build system does not support. It requires a later version of the Cordova CLI and Android Cordova framework then what is present on our build system.
If the above is the case, you must either use an older version of the plugin that is making this request or build your app using PhoneGap Build or Cordova CLI. If you need to use the version of the plugin that requires a later version of CLI/Android, let me know and I can provide instructions on how to use those other tools for building.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry Paul. But no changes have been made to the project in over a month. While I am using version 3.1.7 of the diagnostic plugin, it was building just fine with that version before. In fact, nothing has changed in the project. No new plugins, no new code and no new graphics since the app was put in the app stores. All I needed to do was update a third party API key.
Successfully started process 'command '.../android-sdk/build-tools/25.0.0/aapt'' .../cordova_project/platforms/android/build/intermediates/res/merged/release/values-v24/values-v24.xml:3 : AAPT: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Borderless.Colored'. .../cordova_project/platforms/android/build/intermediates/res/merged/release/values-v24/values-v24.xml:4 : AAPT: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Colored'.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
According to this post > https://github.com/dpa99c/cordova-diagnostic-plugin/issues/172#issuecomment-274320324 < 3.1.7 shouldn't work. Not 100% clear on why it may have been working and now does not. If you switch to a lower version of that plugin does it make a difference in the outcome? I would try versions between 3.1.1 and 3.1.7 to test.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The reason 3.1.7 was working is because you were at the latest level of the API 23. When the API level went to 24, it broke the latest version. Not sure whether I will use the latest version and pin it to 23 or roll back versions. How long before you go to 24?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Could be a while before you see 24 in our build system. I would make it work with 23 or build externally if you need 24.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I downloaded 3.1.7 and made the following changes to the "android" section of plugin.xml file:
<!-- comment these out so that we can pin to API level 23 for XDK --> <!-- <framework src="com.android.support:support-v4:+" /> <framework src="com.android.support:appcompat-v7:+" /> --> <!-- add these so that we're pinned to API level 23 for XDK --> <framework src="com.android.support:support-v4:23.+" /> <framework src="com.android.support:appcompat-v7:23.+" />
I will remove the existing plugin and add the modified 3.1.7 as a 3rd party plugin and try a build tomorrow... and post the results here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for posting the work around Phil!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You're welcome and that fix does indeed fix the problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, I am getting the same error on all my builds, that excact error in fact.
Where do i add the lines
<framework src="com.android.support:support-v4:23.+" />
<framework src="com.android.support:appcompat-v7:23.+" />
is it at the end of the platform=android section of the plugin.xml in every plugin? Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ONLY the diagnostic plugin was discussed in this fix. In the comment marked best reply I showed exactly where to apply this fix.
if you're not using the diagnostic plugin, you may want to check your other plugins and see which one is coded to use the latest API.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page