-
-
Notifications
You must be signed in to change notification settings - Fork 361
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AAPT: error: resource android:attr/lStar not found #440
Comments
This issue is related to As I successfully used |
I created a PR to fix plugin.xml #441 |
This did not work for me. Still got the same error:
|
I think PR #441 would also solve the problem for Capacitor. We cannot use install variables in Capacitor, so for us also 1.4.0-beta01 is installed, which breaks, because compileSdk is currently 30, but the plugin has a minium of 31 set. |
The fix for this has been published to npm in v6.0.4 |
Try to install again cordova.plugins.diagnostic. using |
#440 (comment) |
can you explain this issue in case of capacitor .& how to resolve this issue . |
@ProximaHaiz it's working for you, with capacitor or cordova? |
Thanks it worked for me |
Just re-run this command npm install cordova.plugins.diagnostic |
Thanks! it worked for me. (Cordova)
and upgrade targetSdkVersion to 31 |
Work for me!! Thanks so much!! 👏 |
I get the same result, it didn't work for me |
While building apk we are facing this issue -- AAPT: error: resource android:attr/lStar not found
All new project and old project
Execution failed for task ':app:processDebugResources'.
FAILED
error: failed linking references.
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 34s
23 actionable tasks: 21 executed, 2 up-to-date
D:\ionic\carworld\platforms\android\gradlew: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.
Execution failed for task ':app:processDebugResources'.
error: failed linking references.
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 34s
Bug report
CHECKLIST
I have read the issue reporting guidelines
I confirm this is a suspected bug or issue that will affect other users
Current behavior:
Expected behavior:
Steps to reproduce:
Screenshots
Environment information
cordova -v
cordova platform ls
cordova plugin ls
sw_vers
winver
Runtime issue
Android build issue:
node -v
ls platforms/android/.gradle
android:targetSdkVersion
inAndroidManifest.xml
sdkmanager --list | sed -e '/Available Packages/q'
iOS build issue:
node -v
Related code:
Console output
console output
Other information:
The text was updated successfully, but these errors were encountered: