question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

AndroidX / JetPack Incompatibility

See original GitHub issue
  • I have verified there are no duplicate active or recent bugs, questions, or requests
Include the following:
  • ExoMedia version: 4.2.1
  • Android Studio version: 3.1.2
  • compileSdkVersion: ‘android-P
  • JetPack (androidx & jetifier enabled)
Reproduction Steps
  1. Include ExoMedia in an ‘android-P’ project
  2. Sync
  3. Copy the demo code in the Readme
  4. Compile & Run

The compilation fails with the following error:

Program type already present: android.support.v4.app.INotificationSideChannel$Stub$Proxy
Message{kind=ERROR, text=Program type already present: android.support.v4.app.INotificationSideChannel$Stub$Proxy, sources=[Unknown source file], tool name=Optional.of(D8)}

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
hansenjicommented, Nov 26, 2018

My fix for this issue was moving all of my support libraries directly referenced in my build.gradle to androidX. After that a clean build and the problem went away. My team has been successfully migrating projects using ExoMedia since September.

You may also have issues with generated code. Check your annotation processor dependencies.

0reactions
eygrabercommented, Mar 29, 2019

Please update to use androidx dependencies. This library is the only thing preventing us from turning off jetifier.

Read more comments on GitHub >

github_iconTop Results From Across the Web

AndroidX Overview - Android Developers
The androidx namespace comprises the Android Jetpack libraries. ... platform and provide backward compatibility across Android releases.
Read more >
Unable to import any androidx libraries due to incompatible ...
I'm using gradle 6.7. Incompatible because this component declares a component, with the library elements 'aar' and the consumer needed a ...
Read more >
Android Jetpack - Google Git
Jetpack comprises the androidx.* package libraries, unbundled from the platform APIs. This means that it offers backward compatibility and is updated more ...
Read more >
Jetpack Compose by Tutorials, Chapter 13: Adding View ...
Learn how to use Jetpack Compose in new projects and combine it with the View API, or how to add Jetpack Compose to...
Read more >
Now in Android: 64 - Independent versioning of Jetpack ...
Welcome to Now in Android, your ongoing guide to what's new and notable in the world of Android development. Today, we're covering updates ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found