picker icon indicating copy to clipboard operation
picker copied to clipboard

Type com.reactnativecommunity.picker.BuildConfig is defined multiple times

Open brokenpieworld opened this issue 4 years ago • 10 comments

I am getting this error:

Type com.reactnativecommunity.picker.BuildConfig is defined multiple times

This is conflicting with react natives own picker with this community picker. How to uninstall the inbuilt picker or how to solve this issue .. ?

React Native version: 0.64

brokenpieworld avatar Jun 07 '21 09:06 brokenpieworld

Same issue here. Found any solution till now??

PrabhakarKotipalli avatar Jun 14 '21 10:06 PrabhakarKotipalli

no.. waiting for some expert's reply :(

brokenpieworld avatar Jun 14 '21 13:06 brokenpieworld

anyone's help plz

brokenpieworld avatar Jul 01 '21 17:07 brokenpieworld

Hello @harensarma, I had @react-native-community/picker and @react-native-picker/picker in my dependencies. I removed @react-native-community/picker dependency to fix it.

Raglink avatar Jul 03 '21 15:07 Raglink

I'm using both libraries so I cannot solve the problem. Is there another workaround for this ?

cancerberoSgx avatar Aug 23 '21 14:08 cancerberoSgx

@cancerberoSgx @react-native-community/picker and @react-native-picker/picker are the same libraries and the @react-native-community/picker location is deprecated. This can be solved by replacing references to @react-native-community/picker with @react-native-picker/picker.

andrewtremblay avatar Apr 13 '22 15:04 andrewtremblay

Hello @harensarma @PrabhakarKotipalli @cancerberoSgx , I had @react-native-community/picker and @react-native-picker/picker in my dependencies. I removed @react-native-community/picker dependency to fix it. It worked for me

shoaibarifHWRYK avatar Jun 29 '22 06:06 shoaibarifHWRYK

Hello @harensarma, I had @react-native-community/picker and @react-native-picker/picker in my dependencies. I removed @react-native-community/picker dependency to fix it.

Thanks bro

shoaibarifHWRYK avatar Jun 29 '22 07:06 shoaibarifHWRYK

Raglink, I have been on this for like a month now, only God knows how you found out that was the problem but thank you a million

anthony0000 avatar Dec 26 '22 07:12 anthony0000

Hello. i need help with my expo project. I encounter an error while running eas build Error: A runtime version is set in your AndroidManifest.xml, but is missing from your app.json/app.config.js. Please either set runtimeVersion in your app.json/app.config.js or remove expo.modules.updates.EXPO_RUNTIME_VERSION from your AndroidManifest.xml. Error: A runtime version is set in your AndroidManifest.xml, but is missing from your app.json/app.config.js. Please either set runtimeVersion in your app.json/app.config.js or remove expo.modules.updates.EXPO_RUNTIME_VERSION from your AndroidManifest.xml. at setVersionsConfigAsync (/home/mthee-junior/Documents/Health-Care-v2-main/node_modules/@expo/config-plugins/build/android/Updates.js:128:11) at async Object.setUpdatesConfigAsync (/home/mthee-junior/Documents/Health-Care-v2-main/node_modules/@expo/config-plugins/build/android/Updates.js:122:10) at async syncConfigurationToNativeAndroidAsync (/home/mthee-junior/Documents/Health-Care-v2-main/node_modules/expo-updates/cli/build/syncConfigurationToNativeAsync.js:40:36) at async syncConfigurationToNativeAsync (/home/mthee-junior/Documents/Health-Care-v2-main/node_modules/expo-updates/cli/build/syncConfigurationToNativeAsync.js:21:13) at async syncConfigurationToNative (/home/mthee-junior/Documents/Health-Care-v2-main/node_modules/expo-updates/cli/build/syncConfigurationToNative.js:68:5)

i have tried locating the file i can't find it

Asensio0227 avatar Jun 01 '24 09:06 Asensio0227