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.

Can not compile (android.support.v4.os.ResultReceiver$MyResultReceiver)

See original GitHub issue

Principal error:

Program type already present: android.support.v4.os.ResultReceiver$MyResultReceiver

cordova=9.0.0 cordova-android=8.1.0 target-sdk=29 or 28 min-sdk=19 or 21

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:5

github_iconTop GitHub Comments

3reactions
edtszcommented, Nov 5, 2019

@AlexisCaffa take a look into issue #93 works for me…

cordova platform rm android
cordova plugin rm cordova-plugin-firebase-messaging
cordova plugin add cordova-plugin-firebase-messaging
cordova plugin add cordova-plugin-androidx
cordova plugin add cordova-plugin-androidx-adapter
cordova platform add android
2reactions
LennonSantoscommented, Nov 20, 2019

@AlexisCaffa take a look into issue #93 works for me…

cordova platform rm android
cordova plugin rm cordova-plugin-firebase-messaging
cordova plugin add cordova-plugin-firebase-messaging
cordova plugin add cordova-plugin-androidx
cordova plugin add cordova-plugin-androidx-adapter
cordova platform add android

works for me

Read more comments on GitHub >

github_iconTop Results From Across the Web

Program type already present: android.support.v4.os ...
I have very similar problem and in my case solution is add in gradle.properties this two lines: android.useAndroidX=true android.
Read more >
Program type already present: android.support.v4.os ... - GitHub
I've setup everything on my ionic project and it works well on iOS devices. Unfortunately, it didn't work when I built android, ...
Read more >
Support Library Packages - Android Developers
The Android Support Library contains several library packages that can be included in your application. Each of these libraries supports a specific range...
Read more >
Migrate to AndroidX | Android Developers
This means that your project is most likely already using AndroidX libraries directly and there is no need to follow the steps in...
Read more >
Recent Support Library Revisions - Android Developers
0-alpha1 is a pre-release version to support the Android P developer preview. Its API surface is subject to change, and it does not...
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