masked-view icon indicating copy to clipboard operation
masked-view copied to clipboard

Build failing on Android React native Project

Open codeyogi911 opened this issue 4 years ago • 3 comments

`FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ':app:multiDexListDebug'.

A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade Error while merging dex archives: Learn how to resolve the issue at https://developer.android.com/studio/build/dependencies#duplicate_classes. Program type already present: org.reactnative.maskedview.BuildConfig`

codeyogi911 avatar Dec 17 '20 14:12 codeyogi911

Same problem here. I fixed it by uninstalling the package and using this one instead:

yarn add @react-native-community/masked-view

I think this is the same package, but a little bit older version of it.

artieeg avatar Dec 29 '20 15:12 artieeg

Had same problem when following react-navigation (6.x) installation guide make sure you uninstall community verseion package first, if u want to use this library

yarn remove @react-native-community/masked-view 

// after remove
yarn add @react-native-masked-view/masked-view

JackNgWeiMing avatar Sep 18 '21 01:09 JackNgWeiMing

Still not work

AndrewLutsenko avatar Apr 18 '23 12:04 AndrewLutsenko