Comments (9)
Had this error
Execution failed for task ':app:multiDexListDebug'.
A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
Error while merging dex archives:
Type com.reactnativecommunity.clipboard.BuildConfig is defined multiple times:
Problem was that npm package name and example code used different versions of libraries (rn-community and rn-clipboard). Solution was removing the community version.
Otherwise make sure gradle files are synced and you have cleaned the projects in AS.
from clipboard.
yes same issue
from clipboard.
yes same issue
do you solve it ? I find install other react-native-community package had same problem.
from clipboard.
I got the same problem.
from clipboard.
any update on this?
I got multidex merge dex error, can't build after installing
currently resorting to deprecated original RN Clipboard
idk how long that will hold tho
EDIT:
Adding multiDexEnabled true
in defaultConfig { }
in app level build.gradle
fixed it for me but I read somewhere that that is a workaround and it still means there's someting in the library that's messing with method count? can anyone confirm if this is best practice?
Thanks in advance :)
from clipboard.
I've been facing this problem too! Installing this library causes the android app to crash. I was able to fix the multiDexEnabled error, and the build passes. But the app crashes on open
from clipboard.
This problem is not with the library, but more of android. enabling multidex will solve the problem
from clipboard.
@mvehar comment worked for me. For me a library was using the rn-community/clipboard package so i had to remove the react-native-clipboard/clipboard package
from clipboard.
@mvehar Thanks.worked after uninstall community version of clipboard.
from clipboard.
Related Issues (20)
- "Allow Paste" permission pop up on start up HOT 2
- Task :react-native-community_clipboard:compileDebugJavaWithJavac FAILED HOT 3
- Copy Gif To Clipboard HOT 1
- andriod build failed
- Hide Eclipse
- Cannot use the attributes of Clipboard in windows
- Unable to empty clipboard :) HOT 1
- Could not create an instance of type com.android.build.api.variant.impl.LibraryVariantBuilderImpl. Namespace not specified. HOT 7
- [Android-New Arch] Cannot specify link libraries for target "react_codegen_RNCClipboard" which is not built by this project HOT 15
- Can we deprecate the NPM package for @react-native-community/clipboard
- no idea why need to link
- How get to work with Expo HOT 1
- App Hanging: App hanging for at least 2000 ms. Happens for iOS devices only. HOT 3
- Clear the clipboard
- Android: After upgrading to React Native version 0.73, build failed HOT 7
- Monorepo REACT_NATIVE_NODE_MODULES_DIR error HOT 2
- Getting "copied" send to device in android 13 HOT 1
- Task :react-native-community_clipboard:compileDebugJavaWithJavac FAILED HOT 14
- SetString("") not clear Gboard's clipboard
- Expose access to EXTRA_IS_SENSITIVE for setString on Android
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clipboard.