[英]React-native: BeoNews app run-android Execution failed for task ':app:transformClassesWithJarMergingForDebug'
[英]Error "Task :app:processDebugResources FAILED" on dev build of react-native run-android
我正在尝试使用“react-native run-android”运行我的应用程序,但它在尝试构建时会提示此错误。 此resource android:attr/lStar not found
。
> Task :app:processDebugResources FAILED
227 actionable tasks: 227 executed
Note: /home/leo/.dev/id_motorista/node_modules/@react-native-async-storage/async-storage/android/src/main/java/com/reactnativecommunity/asyncstorage/AsyncStorageModule.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /home/leo/.dev/id_motorista/node_modules/@react-native-async-storage/async-storage/android/src/main/java/com/reactnativecommunity/asyncstorage/AsyncStoragePackage.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: /home/leo/.dev/id_motorista/node_modules/react-native-background-fetch/android/src/main/java/com/transistorsoft/rnbackgroundfetch/HeadlessTask.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:processDebugResources'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
> Android resource linking failed
/home/leo/.gradle/caches/transforms-2/files-2.1/3e18a838e60dae2918cb4d785933a26e/core-1.7.0/res/values/values.xml:105:5-114:25: AAPT: error: resource android:attr/lStar not found.
我已经尝试过的事情:
compileSdkVersion
和targetSdkVersion
改为31“本机反应”:“0.64.2”
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.