android


error when i want to compile gradle zxing


im trying to use zxing to scan barcode using android studio
but when i try to add zxing gradle i got this error
Error:Execution failed for task ':app:transformClassesWithJarMergingForAristiDebug'.
> com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: com/google/zxing/BarcodeFormat.class
this is what all gradle i have
compile 'com.android.support:appcompat-v7:25.3.1'
compile 'com.android.support:design:25.3.1'
compile 'com.android.support:cardview-v7:25.3.1'
compile 'com.android.support:recyclerview-v7:25.3.1'
compile 'com.jakewharton:butterknife:8.4.0'
compile 'com.jakewharton:butterknife-compiler:8.4.0'
compile 'com.squareup.retrofit2:retrofit:2.1.0'
compile 'com.squareup.okhttp3:logging-interceptor:3.4.1'
compile 'com.squareup.okhttp3:okhttp:3.4.1'
compile 'com.squareup.retrofit2:converter-gson:2.1.0'
compile 'com.squareup.retrofit2:adapter-rxjava:2.1.0'
compile 'com.github.bumptech.glide:glide:3.7.0'
compile 'de.hdodenhof:circleimageview:2.1.0'
compile 'org.greenrobot:eventbus:3.0.0'
compile 'com.google.android.gms:play-services-maps:10.2.1'
compile 'com.google.android.gms:play-services-location:10.2.1'
compile 'com.karumi:dexter:2.3.1'
compile 'com.android.support.constraint:constraint-layout:1.0.2'
compile 'me.dm7.barcodescanner:zxing:1.9'
testCompile 'junit:junit:4.12'
can somebody tell me what should i do ?? Or what should i search to remove this error ?

Related Links

Android JNI Using Pre built .so file in C Code
Open Activity with backwards to MainActivity in my app
Problems Adding TextView Programmatically Without Erasing Views in XML - Android
ndk-build: Header file of static prebuilt static library not found even on LOAD_STATIC_LIBRARY
Android studio. Module not specified after import
Android Java getId() name not int value [duplicate]
Ntlm code works on only Samsung devices
Webview - open links in external apps and browsers / android
alarm never triggers , as it should do android
Enabling GPS programmatically, causes the GPS indicator to flash while the GPS button is disabled
Android SQL lite table insert issue
Count Total Number of List Items in a ListView
Facebook Share Dialog in Android not showing content
Google anlytics is not working integrated in android app ,real time data is not showing
ShapeRender issue
can we have both of Button and onItemClick listener in ListView in android?

Categories

HOME
awk
developer-tools
pagination
rdbms
components
jelastic
cq5
mips
nstableheaderview
g++
google-schemas
mod-security
naivebayes
atlassian
git-extensions
pyramid
symfony-console
topology
guzzle
qliksense
interpreter
surveymonkey
progress-bar
handler
tpm
constexpr
livelink
spring-security4
hreflang
imagenet
zoomify
railstutorial.org
comparison-operators
visa
vmware-fusion
android-softkeyboard
preloader
sharp-snmp
xmldocument
clang++
procfile
java-bytecode-asm
flac
cpu-cache
trigger.io
filenet
polyline
choice
angular2-testing
hadoop-2.7.2
webjars
latin
google-cloud-console
dotnetnuke-7
beamer
rspec2
asyncdisplaykit
fuelcms
toolkit
cgi-bin
doctype
visual-sourcesafe-2005
rpart
graphics2d
mirror
avahi
alloy-ui
bufferedinputstream
kubuntu
actionfilterattribute
java-security
administration
cocos3d
device-tree
imagefilter
jama
unix-socket
build-script
ss7
verold
malformedurlexception
vsx
extjs2
cfcache
accesscontrolexception
mt4j
code-duplication
dtmf
hidapi
inappsettingskit
cffile
superscrollorama
device-width
dopostback
uimanageddocument
kqueue
fitbounds
relative
filemerge
tournament
socketserver
resharper-6.0
instantiationexception
openfaces
skype4java
cldc
fail-fast-fail-early

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App