TakePhoto icon indicating copy to clipboard operation
TakePhoto copied to clipboard

库中引用不支持RXjava2

Open Gkytbn opened this issue 9 years ago • 0 comments

库中 引用了 compile 'com.darsh.multipleimageselect:multipleimageselect:1.0.4' 这个, 它内部使用了rxjava ,现在项目升级rxjava2 ,打包就会报错。

项目中 使用
compile 'com.squareup.retrofit2:retrofit:2.3.0' compile 'com.squareup.retrofit2:converter-gson:2.3.0' compile 'com.squareup.retrofit2:adapter-rxjava2:2.3.0' compile 'io.reactivex.rxjava2:rxandroid:2.0.1'

以下是错误信息 `Error:warning: string 'permission_denied' has no default translation.

FAILURE: Build failed with an exception.

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

com.android.build.api.transform.TransformException: com.android.builder.packaging.DuplicateFileException: Duplicate files copied in APK META-INF/rxjava.properties File1: /Users/xxb/.gradle/caches/modules-2/files-2.1/io.reactivex/rxjava/1.2.2/5b083e2a33225bc1c7b11678b7608e2bead4e417/rxjava-1.2.2.jar File2: /Users/xxb/.gradle/caches/modules-2/files-2.1/io.reactivex.rxjava2/rxjava/2.0.1/57f850a6b317e5582f1dbaff10a9e7d7e1fcdcfb/rxjava-2.0.1.jar

  • Try: Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output.

`

Gkytbn avatar Nov 30 '17 03:11 Gkytbn