View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002217 | SymmetricDS | Bug | public | 2015-02-26 16:47 | 2015-03-17 16:58 |
Reporter | hhowe | Assigned To | chenson | ||
Priority | low | ||||
Status | closed | Resolution | fixed | ||
Product Version | 3.7.7 | ||||
Target Version | 3.7.10 | Fixed in Version | 3.7.10 | ||
Summary | 0002217: Android zip contains superflous slf4j jars | ||||
Description | The zip for symmetric-android 3.7.7 contains 3 slf4j jars: slf4j-android-1.6.1.RC1.jar slf4j-api-1.7.7.jar slf-4j-log4j12-1.7.7.jar The android slf4j jar contains some of the same class that are in the other two. Namely, LoggerFactory and StaticLoggerBinder. This duplication creates weird build errors in a multidex application: java.util.zip.ZipException: duplicate entry: org/slf4j/impl/StaticLoggerBinder.class Sometimes the error is for a different slf4j class. Workaround is to simply delete the second 2 jar files and retain the android one. | ||||
Steps To Reproduce | Create a new android project in android studio 1.1.0 Download symmetric 3.7.7 for android and extract to the ./app//libs directory of the android project Modify the apps gradle file to build a multidex app. Pasted into the additional information block Expected: app should build Observed: build error: * What went wrong: Execution failed for task ':app:packageAllDebugClassesForMultiDex'. > java.util.zip.ZipException: duplicate entry: org/slf4j/helpers/BasicMarker.class | ||||
Additional Information | apply plugin: 'com.android.application' android { compileSdkVersion 21 buildToolsVersion "21.1.2" defaultConfig { applicationId "com.sourceallies.hhowe.symtest" minSdkVersion 16 targetSdkVersion 21 versionCode 1 versionName "1.0" multiDexEnabled true } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } } dependencies { compile 'com.android.support:multidex:1.0.1' compile fileTree(dir: 'libs', include: ['*.jar']) compile 'com.android.support:appcompat-v7:21.0.3' } | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2015-02-26 16:47 | hhowe | New Issue | |
2015-02-26 17:08 | hhowe | Note Added: 0000673 | |
2015-03-12 01:01 | chenson | Fixed in Version | => 3.7.10 |
2015-03-12 01:01 | chenson | Target Version | => 3.7.10 |
2015-03-12 01:01 | chenson | Status | new => resolved |
2015-03-12 01:01 | chenson | Resolution | open => fixed |
2015-03-12 01:01 | chenson | Assigned To | => chenson |
2015-03-12 02:00 | chenson | Changeset attached | => SymmetricDS trunk r9408 |
2015-03-17 16:58 | chenson | Status | resolved => closed |
2015-07-31 01:49 | chenson | Changeset attached | => SymmetricDS master fe3f5317 |