简体   繁体   English

react native error:——AAPT: error: resource android:attr/lStar not found

[英]react native error:——AAPT: error: resource android:attr/lStar not found

> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
   > Android resource linking failed
     /Users/inkcrazy/.gradle/caches/transforms-2/files-2.1/70043a6c1f9f43721644aa68c6c56b6f/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 2m 11s

Process finished with exit code 1

enter image description here Others are saying that 「androidx.core:core-ktx:+」 is the problem, but I can't find reliance on this library在此处输入图像描述其他人说「androidx.core:core-ktx:+」是问题所在,但我找不到对这个库的依赖

You need to upgrade react-native-community/netinfo package.您需要升级 react-native-community/netinfo 包。 In my case there was many package upgrade conflict, "yarn upgrade" solved problem for me.就我而言,有很多包升级冲突,“纱线升级”为我解决了问题。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 AAPT:错误:资源 android:未找到属性/lStar。 React-native项目 - AAPT: error: resource android:attr/lStar not found. React-native project flutter AAPT:错误:资源 android:attr/lStar 未找到 - flutter AAPT: error: resource android:attr/lStar not found Android Studio 错误:114:25:AAPT:错误:资源 android:attr/lStar 未找到 - Android Studio Error :114:25: AAPT: error: resource android:attr/lStar not found 消息“错误:资源 android:attr/lStar 未找到” - Message "error: resource android:attr/lStar not found" Android Studio Android 资源链接失败错误.. AAPT:错误:资源 android:未找到属性/lStar。 在值.xml 105 - Android Studio Android resource linking failed error .. AAPT: error: resource android:attr/lStar not found. at values.xml 105 core-1.7.0/res/values/values.xml:105:5-114:25: AAPT: 错误: 资源 android:attr/lStar 未找到 - core-1.7.0/res/values/values.xml:105:5-114:25: AAPT: error: resource android:attr/lStar not found React-native android build失败:“... AAPT:错误:找不到资源android:attr / fontVariationSettings。” - React-native android build fails: “…AAPT: error: resource android:attr/fontVariationSettings not found.” React-native(android)AAPT:错误:资源android:attr / dialogCornerRadius未找到 - React-native(android) AAPT: error: resource android:attr/dialogCornerRadius not found AAPT:错误:找不到资源android:attr / colorError - AAPT: error: resource android:attr/colorError not found AAPT:错误:找不到资源 android:attr/android:progressBarStyleSmall - AAPT: error: resource android:attr/android:progressBarStyleSmall not found
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM