'RNCAndroidDropdownPicker was not found in the UIManager

I have installed nativebase version 2.15.2. I am getting following error in android:

requireNativeComponent "RNCAndroidDropdownPicker" was not found in the UIManager


Solution 1:[1]

It's working for me:

npm install @react-native-picker/picker --save 

Linking:

iOS:

cd ios && pod install 

Android:

Clear and gradle run

Solution 2:[2]

I started getting this issue after installing the node modules on fresh install. After some research I resolved it by installing the package.

If you are using yarn for package installing

yarn add @react-native-community/picker

If you are using npm

npm install @react-native-community/picker

If you are using expo

expo install @react-native-community/picker

Solution 3:[3]

Just had the same issue with a fresh install (no expo) Simple fix for me was the usual suspects.

Reset the server & cache

npx react-native start --reset-cache

Remove node modules, clean, and build. Reinstall and run again.

rm -rf node_modules

npm i

cd android/

./gradlew clean

cd ../

npx react-native run-android

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 masud_moni
Solution 2 masud_moni
Solution 3 Taylor A. Leach