重复条目:okio / AsyncTimeout $ 1.class

时间:2016-07-24 10:24:12

标签: android gradle build.gradle

i am getting this error when after integrating the OverAir sdks in Gradle and i dont know which one library is causing a duplicate entry with these sdk files. my project gradle file look like this

compile ('com.nostra13.universalimageloader:universal-image-loader:1.9.5')
compile('com.getbase:floatingactionbutton:1.9.0') {
    exclude module: 'support-annotations'
}
compile(name:'onemotion-sdk', ext:'aar')
compile(name:'overair-sdk', ext:'aar')
compile(name: 'material-search', ext: 'aar')
compile 'com.paypal.sdk:paypal-android-sdk:2.14.2'
compile 'com.facebook.android:facebook-android-sdk:4.4.0'
compile 'com.android.support:appcompat-v7:24.0.0'
compile 'com.android.support:support-v4:24.0.0'
compile 'com.android.support:design:24.0.0'
compile 'me.dm7.barcodescanner:zxing:1.8.4'
compile 'org.droidparts:droidparts:2.8.8'
compile 'com.google.android.gms:play-services-gcm:9.2.0'
compile 'com.google.android.gms:play-services-maps:9.2.0'
compile 'com.google.android.gms:play-services-location:9.2.0'
compile 'com.android.support:cardview-v7:24.0.0'
compile 'uk.co.chrisjenx:calligraphy:2.1.0'
compile ('com.squareup.picasso:picasso:2.5.2')
compile 'com.android.support:multidex:1.0.1'

但错误是由lib文件夹中的这两个OverAir和OneEmotion sdk引起​​的。可能它与Universal图像加载程序库或Picasso相冲突,任何人都可以帮助我,谢谢是提前....!

compile(name:'onemotion-sdk', ext:'aar') 
compile(name:'overair-sdk', ext:'aar')

1 个答案:

答案 0 :(得分:10)

请在项目级In [68]: df = pd.concat([df] * 10**5, ignore_index=True) In [69]: df.shape Out[69]: (300000, 3) In [76]: %timeit df.apply(" ".join, axis=1) 1 loop, best of 3: 5.8 s per loop In [77]: %timeit df[0].str.cat(df.ix[:, 1:].T.values, sep=' ') 10 loops, best of 3: 138 ms per loop In [79]: %timeit pir(df) 1 loop, best of 3: 499 ms per loop In [80]: %timeit pir2(df) 10 loops, best of 3: 174 ms per loop In [81]: %timeit pir3(df) 10 loops, best of 3: 115 ms per loop In [159]: %timeit df.add([' '] * (df.columns.size - 1) + ['']).sum(axis=1) 1 loop, best of 3: 478 ms per loop 文件中添加这两行gradle标记大括号

android {}