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.

Package androidx.localbroadcastmanager.content does not exist

See original GitHub issue

Bug report

  • I’ve checked the example to reproduce the issue.

  • Reproduced on:

  • Android

  • iOS

Description

Package androidx.localbroadcastmanager.content does not exist error in VoiceConnection.java:27.

Steps to Reproduce

Install latest Callkeep and try to build project for Android with the latest React Native.

Versions

- Callkeep: 4.3.3
- React Native: 0.69.1

Logs

/node_modules/react-native-callkeep/android/src/main/java/io/wazo/callkeep/VoiceConnection.java:27: error: package androidx.localbroadcastmanager.content does not exist
import androidx.localbroadcastmanager.content.LocalBroadcastManager;
                                             ^

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:9
  • Comments:15 (1 by maintainers)

github_iconTop GitHub Comments

20reactions
NguyenVanVietPoLycommented, Jul 27, 2022

@alexanderoskin that work, open node_modules/react-native-callkeep/android/build.graldew add :
implementation “androidx.localbroadcastmanager:localbroadcastmanager:1.1.0” run npx patch-package react-native-callkeep

7reactions
pierguinzanicommented, Nov 4, 2022
Read more comments on GitHub >

github_iconTop Results From Across the Web

Can not resolve import LocalBroadcastManager on statement ...
I got this error while importing an eclipse project to Android studio. It shows a suggestion Add library Gradle: ...
Read more >
Localbroadcastmanager - Android Developers
androidx.localbroadcastmanager has been fully deprecated. There will be no further releases of this library. Developers should replace usages of ...
Read more >
task :react-native-reanimated:buildcmakedebug failed - You.com
Versions found: N/A; Version supported: 31.0.0. and this is my android SDK version. enter image description here. I don't know why the error...
Read more >
Class androidx.localbroadcastmanager.content ...
You know that the data you are broadcasting won't leave your app, so don't need ... package androidx.localbroadcastmanager.content; import android.content.
Read more >
React Native — How to handle an app with both pre-AndroidX ...
How we handled a mix of AndroidX and non-AndroidX dependencies inside a ... error: package android.support.v4.content does not existimport ...
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