-
[React-Native][HotFix] Android apk errorReact-Native/Error 2022. 11. 16. 22:48
2022년 11월 09일에 빌드나 싱크 과정은 오류 없이 잘 되었으나, Android에서 apk를 추출하는 과정에서 에러가 발생했습니다.
새로운 라이브러리나 업데이트를 한적도 없는데 코틀린 버전에 관한 에러 문구가 뜨면서 apk가 추출이 되지 않았습니다.
apk 추출할 때 error 그러나 위의 오류 때문에 apk가 추출이 안된 것이 아녔습니다.
원인
react-native의 버전의 오류 때문에 생긴 apk error 였습니다.
https://github.com/facebook/react-native/issues/35210
[FIXED] Android build failures `No matching variant of com.facebook.react:react-native:0.71.0-rc.0 was found.` · Issue #35210
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에서도 일주일 전에 HotFix를 통해서 문제를 해결하였습니다.
위에 링크에서 HotFix가 적용된 react-native 버전으로 업데이트를 하니까 문제가 해결되었습니다.
'React-Native > Error' 카테고리의 다른 글
[React-Native][Error] 앱 흰색화면 에러 (앱 실행이 안됨) (0) 2022.11.20 [React-Native][Error] npm ERR! code ERESOLVE (0) 2022.11.17 [React-Native][Android][Error] APK Error (Duplicate resources) (0) 2022.11.12 [React-Native][Error] patch-package error (0) 2022.11.10 [React-Native][Android][Error] Android button not working error (0) 2022.11.07