-
Notifications
You must be signed in to change notification settings - Fork 190
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
Ionic 4 cordova-plugin-music-controls breaks build #145
Comments
Same error for version 2.2.0, try ionic cordova plugin rm cordova-plugin-music-controls ionic cordova plugin add https://github.com/amitkhare/cordova-music-controls-plugin --save |
Or try adding the gradle release plugin. It works to resolve conflicting support library versions between different plugins at build time. |
I have the same problem. It is working with the old version of cordova-music-controls-plugin https://github.com/amitkhare/cordova-music-controls-plugin But it doesn't work with the current cordova-music-controls-plugin, showing a lot of errors like this when I compile with this version of MusicControls:
|
@paulovargatt Every time I tested this repo, I had random errors like:
Please instead of repeating what you read on a random board/issue, explain why and how this should resolve our issue. Beware of just telling everybody to use any fork: it may contain altered code and cause security issues. There's a reason THIS repo isn't working at the moment, why couldn't we simply debug this one??? |
@DanielTizon to resolve the Android v4 issues, install this plugin here |
@Dzivo advice here ^^ applies to OP too |
@tbergeron I recommended the plugin in question because it was the only one that solved my problem of build in both platforms, for the updated version "homerours" I and many other users receive several errors at the time of the build without recommendations on how to solve ... |
Many thanks @tbergeron. That indeed solves the plugin addition problems. |
I had luck adding this plugin |
This is still an issue. None of the above fixes worked. I've tried with a fresh empty project and still doesn't work |
I have the same problem trying to upgrade to ionic 4 |
Adding this to my project.properties file, solved the problem for me in Ionic 3 cordova.system.library.1=com.android.support:support-annotations:27.+ |
thanks @javier-gm !! it works with Ionic3 + Cordova-Android8 (sdk28) too: cordova.system.library.1=com.android.support:support-annotations:28.+ |
HI, I got the same issue, so I made a fork and fixed the plugin that works for both IOS 13 and android 10 tested.
thank you. |
In Ionic 4 this plugin breaks build with message:
package.json
config.xml
The text was updated successfully, but these errors were encountered: