[x] I confirm this is a suspected bug or issue that will affect other users
[x] I have reproduced the issue using the example project or provided the necessary information to reproduce the issue.
[x] I have read the documentation thoroughly and it does not help solve my issue.
[x] I have checked that no similar issues (open or closed) already exist.
Current behavior:
Since last week we are not able to build android when the diagnostic plugin is included.
This error occurs while building:
`
Starting a Gradle Daemon (subsequent builds will be faster)
Task :app:processDebugResources FAILED
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':app:processDebugResources'.
A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
Android resource linking failed
/Users/XXX/.gradle/caches/transforms-2/files-2.1/082fd8435f96aa3f026dd001121230f9/core-1.7.0-beta02/res/values/values.xml:105:5-114:25: AAPT: error: resource android:attr/lStar not found.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
BUILD FAILED in 17s
22 actionable tasks: 22 executed
Command failed with exit code 1: /Users/XXX/cordova-diagnostic-plugin-example/platforms/android/gradlew cdvBuildDebug -b /Users/XXX/cordova-diagnostic-plugin-example/platforms/android/build.gradle
`
I tested this in different OS environments and on different machines. It also occurs in your example project. Everwhere we get the same error
Expected behavior:
No build error.
Steps to reproduce:
cordova build android
Environment information
Cordova CLI version
cordova 10.0.0
Cordova platform version
android 9.1.0
Plugins & versions installed in project (including this plugin)
sdkmanager --list | sed -e '/Available Packages/q'
Related code:
insert any relevant code here such as plugin API calls / input parameters
Console output
Subproject Path: CordovaLib
Subproject Path: app
> Task :app:processDebugResources FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:processDebugResources'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
> Android resource linking failed
/Users/XXX/.gradle/caches/transforms-2/files-2.1/082fd8435f96aa3f026dd001121230f9/core-1.7.0-beta02/res/values/values.xml:105:5-114:25: AAPT: error: resource android:attr/lStar not found.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 3s
16 actionable tasks: 1 executed, 15 up-to-date
Command failed with exit code 1: /Users/XXX/cordova-diagnostic-plugin-example/platforms/android/gradlew cdvBuildDebug -b /Users/XXX/cordova-diagnostic-plugin-example/platforms/android/build.gradle
```
Bug report
CHECKLIST
[x] I have read the issue reporting guidelines
[x] I confirm this is a suspected bug or issue that will affect other users
[x] I have reproduced the issue using the example project or provided the necessary information to reproduce the issue.
[x] I have read the documentation thoroughly and it does not help solve my issue.
[x] I have checked that no similar issues (open or closed) already exist.
Current behavior:
Since last week we are not able to build android when the diagnostic plugin is included. This error occurs while building:
` Starting a Gradle Daemon (subsequent builds will be faster)
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':app:processDebugResources'.
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
BUILD FAILED in 17s 22 actionable tasks: 22 executed Command failed with exit code 1: /Users/XXX/cordova-diagnostic-plugin-example/platforms/android/gradlew cdvBuildDebug -b /Users/XXX/cordova-diagnostic-plugin-example/platforms/android/build.gradle `
I tested this in different OS environments and on different machines. It also occurs in your example project. Everwhere we get the same error Expected behavior:
No build error. Steps to reproduce:
cordova build android
Environment information
Android build issue:
sdkmanager --list | sed -e '/Available Packages/q'
Related code:
Console output
Subproject Path: CordovaLib Subproject Path: app > Task :app:processDebugResources FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:processDebugResources'. > A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade > Android resource linking failed /Users/XXX/.gradle/caches/transforms-2/files-2.1/082fd8435f96aa3f026dd001121230f9/core-1.7.0-beta02/res/values/values.xml:105:5-114:25: AAPT: error: resource android:attr/lStar not found. * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. * Get more help at https://help.gradle.org BUILD FAILED in 3s 16 actionable tasks: 1 executed, 15 up-to-date Command failed with exit code 1: /Users/XXX/cordova-diagnostic-plugin-example/platforms/android/gradlew cdvBuildDebug -b /Users/XXX/cordova-diagnostic-plugin-example/platforms/android/build.gradle
```