Program type already present: com.coremedia.iso.AbstractBoxParser
See original GitHub issueProgram type already present: com.coremedia.iso.AbstractBoxParser$1 Message{kind=ERROR, text=Program type already present: com.coremedia.iso.AbstractBoxParser$1, sources=[Unknown source file], tool name=Optional.of(D8)}
Gradle dependencies:
dependencies {
final SUPPORT_LIBRARY_VERSION = '27.1.1'
final FIREBASE_VERSION = '12.0.0'
final CRASHLYTICS = '2.9.0'
final OKHTTP__VERSION = '3.9.1'
final RETROFIT_VERSION = '2.3.0'
final GSON_VERSION = '2.8.2'
final CAMERAVIEW_VERSION = '1.5.0'
final CIRCLE_IMAGE_VIEW_VERSION = '2.2.0'
final IMAGE_CROP_VERSION = '2.2.1'
final APACHE_COMMONS_VERSION = '1.2'
final BUTTERKNIFE_VERSION = '8.8.1'
final GLIDE_VERSION = '4.6.1'
final MULTIDEX_VERSION = '1.0.3'
final COUNTRY_CODE_PICKER_VERSION = '2.1.4'
final VIDEO_LIST_PLAYER_VERSION = '1.4'
final SILI_COMPRESSOR_VERSION = '2.1'
final JUNIT_VERSION = '4.12'
final RUNNER_VERSION = '1.0.1'
final ESPRESSO_VERSION = '3.0.1'
ext {
versions = [
'ffmpeg': '3.4.1-1.4'
]
}
implementation fileTree(dir: 'libs', include: ['*.jar'])
// Support dependencies
implementation "com.android.support:support-v4:$SUPPORT_LIBRARY_VERSION"
implementation "com.android.support:appcompat-v7:$SUPPORT_LIBRARY_VERSION"
implementation "com.android.support:animated-vector-drawable:$SUPPORT_LIBRARY_VERSION"
implementation "com.android.support:exifinterface:$SUPPORT_LIBRARY_VERSION"
implementation "com.android.support:cardview-v7:$SUPPORT_LIBRARY_VERSION"
implementation "com.android.support:recyclerview-v7:$SUPPORT_LIBRARY_VERSION"
implementation "com.android.support:design:$SUPPORT_LIBRARY_VERSION"
// Firebase & Crashalytics
implementation "com.google.firebase:firebase-auth:$FIREBASE_VERSION"
implementation "com.google.firebase:firebase-messaging:$FIREBASE_VERSION"
implementation "com.google.firebase:firebase-core:$FIREBASE_VERSION"
implementation("com.crashlytics.sdk.android:crashlytics:$CRASHLYTICS@aar") {
transitive = true;
}
// Retrofit and OkHttp networking libraries
implementation "com.squareup.okhttp3:okhttp:$OKHTTP__VERSION"
implementation "com.squareup.okhttp3:logging-interceptor:$OKHTTP__VERSION"
implementation "com.squareup.retrofit2:retrofit:$RETROFIT_VERSION"
implementation "com.squareup.retrofit2:converter-gson:$RETROFIT_VERSION"
implementation "com.google.code.gson:gson:$GSON_VERSION"
// Camera, circleImageView and imageCrop
implementation "com.otaliastudios:cameraview:$CAMERAVIEW_VERSION"
implementation "de.hdodenhof:circleimageview:$CIRCLE_IMAGE_VIEW_VERSION"
implementation "com.github.yalantis:ucrop:$IMAGE_CROP_VERSION-native"
implementation 'com.theartofdev.edmodo:android-image-cropper:2.6.0'
implementation group: 'org.apache.commons', name: 'commons-text', version: "$APACHE_COMMONS_VERSION"
// Butterknife
implementation "com.jakewharton:butterknife:$BUTTERKNIFE_VERSION"
implementation 'com.android.support.constraint:constraint-layout:1.1.0'
annotationProcessor "com.jakewharton:butterknife-compiler:$BUTTERKNIFE_VERSION"
// Glide - imageLoading
implementation "com.github.bumptech.glide:glide:$GLIDE_VERSION"
annotationProcessor "com.github.bumptech.glide:compiler:$GLIDE_VERSION"
// multidex
implementation "com.android.support:multidex:$MULTIDEX_VERSION"
// ContryCode picker
implementation "com.hbb20:ccp:$COUNTRY_CODE_PICKER_VERSION"
// Sili Image/Video compressor
implementation "com.iceteck.silicompressorr:silicompressor:$SILI_COMPRESSOR_VERSION"
// Video player in recyclerview
implementation "com.github.waynell:VideoListPlayer:$VIDEO_LIST_PLAYER_VERSION"
implementation "im.ene.toro3:toro:3.4.2"
implementation "im.ene.toro3:toro-ext-exoplayer:3.4.2"
// Local Unit tests
testImplementation "junit:junit:$JUNIT_VERSION"
// JavaCV
implementation group: 'org.bytedeco.javacpp-presets', name: 'ffmpeg', version: versions.ffmpeg
implementation group: 'org.bytedeco.javacpp-presets', name: 'ffmpeg', version: versions.ffmpeg, classifier: 'android-arm'
implementation files('libs/javacv-1.4.2.jar')
implementation 'com.googlecode.mp4parser:isoparser:1.1.20'
// Espresso Unit testing
androidTestImplementation "com.android.support.test:runner:$RUNNER_VERSION"
androidTestImplementation "com.android.support.test.espresso:espresso-core:$ESPRESSO_VERSION", {
exclude group: 'com.android.support', module: 'support-annotations'
}
}
Issue Analytics
- State:
- Created 5 years ago
- Comments:9
Top Results From Across the Web
android - How to fix error duplicate entry: com/coremedia/iso ...
1 Answer 1 · After adding this in build.gradle app is getting crashed after tapping save button. · There is an explanation in...
Read more >D8 error: "Program type already present" [77499230]
To find which libraries cause the issues, for error message "Program type already present: org.intellij.lang.annotations.Identifier", you can do the following:
Read more >Error while merging dex Program type already present
D8: Program type already present : android.support.v4.app.INotificationSideChannelFAILURE: Build failed with an exception.
Read more >Descriptors.java - Android Code Search
Get a list of top-level message types declared in this file. ... /mp4parser/isoparser/src/main/java/com/coremedia/iso/AbstractBoxParser.java(1 occurrence).
Read more >Diff - platform/external/mp4parser - Google Git
diff --git a/isoparser/src/main/java/com/coremedia/.svn/all-wcprops ... pointing to the ISO file - * @param parent the current box's parent (null if no ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
How to check for third party lib, which are using same lib but different version. Error i am facing while integrating Silli Compressor: “Program type already present: com.coremedia.iso.BoxParser”. If you could help me out.
This issue is self-explanatory, there is another library using
com.coremedia.iso
or isoparser.Find the library which is using it, you can do that using
gradlew app:dependencies
, it will probably be some video library. Then add the following to that library (inside youbuild.gradle
)This should solve your problem, please close the issue if it does.