-
Notifications
You must be signed in to change notification settings - Fork 24.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
D8: Program type already present: android.support.v4.app.INotificationSideChannel$Stub$Proxy #25364
Comments
I'm also experiencing this very same error. |
It is the react-native-device-info and react-native push notification causing this error to resolve Refer here. |
@HarshitMadhav please clearly define which file to be modify ? |
@sumangautam5555 are you using these react-native-device-info and react-native push notification? |
@HarshitMadhav i'm using react-native-fcm for notification "nachos-ui": "^0.2.0-beta.1", |
@sumangautam5555 that means yes you are using notifications. |
@HarshitMadhav Task :app:transformDexArchiveWithExternalLibsDexMergerForDebug FAILED FAILURE: Build failed with an exception.
|
@sumangautam5555 also disable the androidx implementation to the project. |
HarshitMadhav how to disable the androidx |
@sumangautam5555 Facing the same issue. Any fix yet? |
@sumangautam5555 Updating the react-native-device-info package to latest worked for me. |
@Saikumar-Hexaware i'm not used this package react-native-device-info |
@sumangautam5555 add following 2 lines in gradle.properties file.
|
Worked on me too. |
The issue is due to some dependencies having an internal dependency on Google APIs. This can be found out by simply analyzing all the package dependencies and check for androidx dependent libraries. You can go to android folder of project and execute the following command to find this I fixed the issue by adding the following code in app/build.gradle
|
1+ |
Updating the react-native-device-info package to latest worked for me. |
same issues without use react-native-device-info and any push dependencies |
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions. |
FAILURE: Build failed with an exception.
Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'.
React Native version:
React Native Environment Info:
System:
OS: Windows 10
CPU: (4) x64 Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz
Memory: 807.04 MB / 7.92 GB
Binaries:
npm: 6.5.0-next.0 - C:\Program Files\nodejs\npm.CMD
IDEs:
Android Studio: Version 3.2.0.0 AI-181.5540.7.32.5056338-->
Steps To Reproduce
D8: Program type already present: android.support.v4.app.INotificationSideChannel$Stub$Proxy
The text was updated successfully, but these errors were encountered: