Message error: resource android:attr/lStar not found
Using the answer from here
Update compileSdkVersion and targetSdkVersion to 31
And add this code snippet in your android/build.gradle file at the very end.
configurations.all {
resolutionStrategy {
force 'androidx.core:core-ktx:1.6.0'
}
}
Just recently the original author of audioplayers package fixed this issue in his recent PR. It has been fixed in audioplayers version 0.20.1
, so if your issue is related to audioplayers, do upgrade.
Resource linking fails on lStar
Go to your package.json file and delete as many dependencies as you can until the project builds successfully. Then start adding back the dependencies one by one to detect which ones have troubles.
Then you can manually patch those dependencies by acceding them on node_modules/[dependencie]/android/build.gradle and setting androidx.core:core-ktx: or androidx.core:core: to a specific version (1.6.0 in my case).
Android Build Error: lStar not found...
I managed to fix this by upgrading compileSdk to 31 and kotlin gradle plugin to 1.5.10
compileSdk = 31
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.10'
Resource linking fails on lStar
Go to your package.json file and delete as many dependencies as you can until the project builds successfully. Then start adding back the dependencies one by one to detect which ones have troubles.
Then you can manually patch those dependencies by acceding them on node_modules/[dependencie]/android/build.gradle and setting androidx.core:core-ktx: or androidx.core:core: to a specific version (1.6.0 in my case).
Related Topics
Android Studio: Application Installation Failed
Android Simplecursoradapter Doesn't Update When Database Changes
Immersive Mode Navigation Becomes Sticky After Volume Press or Minimise-Restore
How to Remove the Top and Bottom Space on Textview of Android
Put a Progressbar on Actionbar
Whatsapp Like Collapsing Toolbar
Clear Text in Edittext When Entered
Android - Build a Notification, Taskstackbuilder.Addparentstack Not Working
How to Attach Android Source to Eclipse
Add Elevation/Shadow on Toolbar for Pre-Lollipop Devices
Android Xml Rounded Clipped Corners
How to Create a Number Picker Dialog
Start Activity Using Custom Action
Android: How to Refresh Listview Contents
Android: Running a Background Task Using Alarmmanager
Libz.So.1: Cannot Open Shared Object File
What Is Meant by Ems? (Android Textview)
What Is the "Ignoring Innerclasses Attribute" Warning Output During Compilation