我正在开发一个 React Native 应用程序。我的 Android 构建开始在CI环境(和本地)中失败,没有任何更改。
Execution failed for task ':app:processDevelopmentDebugResources'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
> Android resource linking failed
.../app/build/intermediates/incremental/mergeDevelopmentDebugResources/merged.dir/values/values.xml:2682: AAPT: error: resource android:attr/lStar not found.
Run Code Online (Sandbox Code Playgroud)
根据Android:即使没有任何更改,资源链接在测试执行时也会失败,这是因为某些库升级了。
lStar需要compileSdkVersion 31而我的项目使用compileSdkVersion 28。
如何跟踪最近更新了哪些库,或者哪个库导致了这种情况?