Skip to content
This repository has been archived by the owner on Aug 11, 2020. It is now read-only.

com.android.support Version Error #515

Closed
thetoad01 opened this issue Jul 28, 2017 · 3 comments
Closed

com.android.support Version Error #515

thetoad01 opened this issue Jul 28, 2017 · 3 comments

Comments

@thetoad01
Copy link

When trying to use the barcodescanner with another plugin I was not able to build the cordova app.

After working through many errors it appears to come down to the fact that this (barcodescanner) pugin is using “com.android.support:support-v4:26.0.0-alpha1” (alpha version) which is interfering with another plugin using “com.android.support:appcompat-v7:25.3.1” (production version)

So, when the project is trying to merge all the settings from the all the plugins, due to inconsistency of the versions, errors occur.

Is it possible to get a new version of the plugin with the latest version of “com.android.support:appcompat-v7:25.3.1”?

@macdonst
Copy link
Member

See #480

@thetoad01
Copy link
Author

Thanks for the link. I ended up going into the file myapp/platforms/android/phonegap-plugin-barcodescanner/myapp-barcodescanner.gradle and changing the dependency to:
compile 'com.android.support:appcompat-v7:+'

This appears to work.

@lock
Copy link

lock bot commented Jun 8, 2018

This thread has been automatically locked.

@lock lock bot locked as resolved and limited conversation to collaborators Jun 8, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

2 participants