[英]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.