분류 전체보기 (32) 썸네일형 리스트형 Execution failed for task ':react-native-sound-player:processDebugAndroidTestManifest'. Manifest merger failed : uses-sdk:minSdkVersion 16 cannot be smaller than version 21 declared in library FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':react-native-sound-player:processDebugAndroidTestManifest'. > Manifest merger failed : uses-sdk:minSdkVersion 16 cannot be smaller than version 21 declared in library [com.facebook.react:react-native:0.70.5] C:\Users\~~\.gradle\caches\transforms-3\00dfdcd8fc707b538d435dd6a84f826e\transformed\jetified-react-na.. React native Task :lottie-react-native:androidJavadocs FAILED > Task :lottie-react-native:androidJavadocs FAILED D:\Android\~~~\node_modules\lottie-react-native\src\android\src\main\java\com\airbnb\android\react\lottie\LottieAnimationViewManager.java:8: error: p FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':lottie-react-native:androidJavadocs'. > Javadoc generation failed. Generated Javadoc options file (useful for.. react native Execution failed for task ':app:lintDebug'. react natvie 프로젝트를 빌드하다가 만난 에러입니다. FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:lintDebug'. > Lint found errors in the project; aborting build. Fix the issues identified by lint, or create a baseline to see only new errors: ```EaseUnitTestResources android { lint { baseline = file("lint-baseline.xml") } } ``` For more details, see https://developer... ERROR Invariant Violation: requireNativeComponent: "RNCSlider" was not found in the UIManager. ERROR Invariant Violation: requireNativeComponent: "RNC..." was not found in the UIManager. ERROR Invariant Violation: requireNativeComponent: "RNCSlider" was not found in the UIManager. This error is located at: in RNCSlider (at Slider.tsx:225) in SliderComponent (created by App) in RCTView (created by View) in View (created by App) in App in RCTView (created by View) in View (created by AppContainer) in RCTView (created by View) in View (created by AppContainer) in AppContainer in Pr.. Slider has been extracted from react-native core and will be removed in a future release. Slider has been extracted from react-native core and will be removed in a future release. It can now be installed and imported from '@react-native-community/slider' instead of 'react-native'. See https://github.com/callstack/react-native-slider 기존에는 Slider를 사용하려면 react-native를 import하고 불러와야했습니다. 하지만 React Native의 버전을 업그레이드하고나서는 Slider가 @react-native-community/slider에서 불러오는 것으로 대체되었고 차후에는 더이상 rea.. React Native error listen EADDRINUSE: address already in use $ npx react-native start --reset-cache error listen EADDRINUSE: address already in use :::8081. Error: listen EADDRINUSE: address already in use :::8081 at Server.setupListenHandle [as _listen2] (node:net:1330:16) at listenInCluster (node:net:1378:12) at Server.listen (node:net:1465:7) at D:\Android\firstApp\node_modules\metro\src\index.flow.js:398:14 at new Promise () at earlyPortCheck (D:\Andr.. \AppData\Roaming\npm\node_modules\react-native-cli\index.js:302 C:\Users\~~~\AppData\Roaming\npm\node_modules\react-native-cli\index.js:302 cli.init(root, projectName); ^ TypeError: cli.init is not a function at run (C:\Users\~~~\AppData\Roaming\npm\node_modules\react-native-cli\index.js:302:7) at createProject (C:\Users\~~~\AppData\Roaming\npm\node_modules\react-native-cli\index.js:249:3) at init (C:\Users\~~~\AppData\Roaming\npm\node_modules\react-native-c.. Could not get unknown property 'compile' for configuration container of type org.gradle.api.internal.artifacts.configurations.DefaultConfigurationContainer 이건 gradle을 업그레이드 했을 경우에 문제가 발생할 수 있습니다. 제일 좋은 방법은 버전을 변경하는 거지만 그게 어렵다면 코드를 수정하여 해당 문제를 해결할 수 있습니다. app\build.gradle안의 configurations.compile을 configurations.implementation으로 변경합니다. // Run this once to be able to run the application with BUCK // puts all compile dependencies into folder libs for BUCK to use task copyDownloadableDepsToLibs(type: Copy) { from configurations.implementation into 'lib.. TypeError n.default.configureProps is not a function. (In 'n.default.configureProps(Object.keys(p),Object.keys(b))', TypeError n.default.configureProps is not a function. (In 'n.default.configureProps(Object.keys(p),Object.keys(b))', 저는 react-native-reanimated의 버전을 1에서 2로 업그레이드 하면서 생겼습니다. 이럴 경우 전체적으로 모듈의 버전을 확인하고 업로드하면 좋습니다. WARN `new NativeEventEmitter()` was called with a non-null argument without the required `addListener` method. `new NativeEventEmitter()` was called with a non-null argument without the required `removeListeners` method. WARN `new NativeEventEmitter()` was called with a non-null argument without the required `addListener` method. WARN `new NativeEventEmitter()` was called with a non-null argument without the required `removeListeners` method. 가끔 React Native를 개발하다보면 이러한 경고창이 뜨는 것을 볼 수 있습니다. 이건 React Native의 버전이 올라가면서 코드가 변경되어서 발생하는 문제입니다. 사용하고 있는 모듈의 버전이 React Native에 비해서 상대적으로 낮을 경우에 발생합니다. 특히 기존에 있던 프로젝트의 버전을 .. 이전 1 2 3 4 다음