Build failure since missing androidx.localbroadcastmanager.content.LocalBroadcastManager
See original GitHub issueBuild failure:
flutter_downloader-1.1.6/android/src/main/java/vn/hunghd/flutterdownloader/DownloadWorker.java:13: error: package androidx.localbroadcastmanager.content does not exist
import androidx.localbroadcastmanager.content.LocalBroadcastManager;
As I know, LocalBoardcastManager
will be removed from androidx.
https://developer.android.com/jetpack/androidx/releases/localbroadcastmanager
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (3 by maintainers)
Top Results From Across the Web
Can not resolve import LocalBroadcastManager on statement ...
It shows a suggestion Add library Gradle: com.android.support:support-core-utils-27.1.1 to classpath. I have added the library in my build.
Read more >Landroidx/localbroadcastmanager/content ... - Cpming
IssueIn the androidx project, I write these code as bellow.LocalBroadcastManager mgr = LocalBroadcastManager.getInstance(context);After ...
Read more >Localbroadcastmanager - Android Developers
Let us know if you discover new issues or have ideas for improving this library. Please take a look at the existing issues...
Read more >Android Studio 3.5 Canary 13 - Visible to Public
R8: Missing class: com.android.installreferrer.api. ... FAILURE: Build failed with an exception. ... at com.android.build.gradle.internal.transforms.
Read more >Bug - Unity Cloud Build failed on mediation
But for about a week I'm experiencing a problem with building my android game on Unity Cloud Build with mediation package installed. My...
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
I’ve tried to use my plugin in my own project, it works well. If you have any problems, they might come from AndroidX migration. You should follow the official document about AndroidX. There’re some my suggestion:
compileSdkVersion
andtargetSdkVersion
to 28gradle.properties
com.android.tools.build:gradle
to 3.3.1 (the newest)gradle-wrappter.properties
:@hnvn The solution is worked for me, Thanks!