Execution failed for task ':app:checkDebugAarMetadata'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
> Failed to transform react-native-0.71.0-rc.0-debug.aar (com.facebook.react:react-native:0.71.0-rc.0) to match attributes {artifactType=android-aar-metadata, com.android.build.api.attributes.BuildTypeAttr=debug, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.libraryelements=aar, org.gradle.status=release, org.gradle.usage=java-runtime}.
- 며칠 전 부터 일부 라이브러리를 사용하였을 때, 안드로이드로 RN 앱을 빌드하면, 에러가 발생하였다.
- 이 에러를 해결하기 위해서는 다음과 같은 코드를 /android/build.gradle의 allprojects.repositories에 삽입한다.
exclusiveContent {
filter {
includeGroup "com.facebook.react"
}
forRepository {
maven {
url "$rootDir/../node_modules/react-native/android"
}
}
}
Task :react-native-async-storage_async-storage:generateDebugRFile FAILED
I am having problems running my React Native application that was running fine just yesterday. Therefore I ran the command: npx react-native run-android -- --warning-mode=all Which gives informat...
stackoverflow.com
https://github.com/facebook/react-native/issues/35210
[READ ME] [FIX INSIDE] Android build failures happening since Nov 4th 2022 · Issue #35210 · facebook/react-native
Description Hey all, I'd like to share an update on a series of build failures React Native & Expo users have been experiencing when building Android apps starting from November 4th 2022. W...
github.com
'React Native' 카테고리의 다른 글
react-native-image-picker를 사용하여 카메라 사용, 이미지 선택하기 (1) | 2022.11.19 |
---|---|
React Native의 Animated 사용하기 (0) | 2022.11.16 |
React Native Routing 설정 (react-navigation 사용하기) (0) | 2022.11.13 |
React Native Elements 사용해보기 (0) | 2022.11.02 |
React native에서 무한스크롤 구현하기 (FlatList 사용) (0) | 2022.10.27 |