Skip to content
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

Dependencies Error #105

Closed
bknill opened this issue Aug 4, 2016 · 3 comments
Closed

Dependencies Error #105

bknill opened this issue Aug 4, 2016 · 3 comments
Labels
bug Something isn't working properly

Comments

@bknill
Copy link

bknill commented Aug 4, 2016

I'm getting this error when I try and build with this plugin in an Ionic App.

Error: cmd: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.

I've been having a good look round for solutions, which mostly seem to be updating libraries in the Android SDK.

I've added all the libraries and repositories suggested - to no avail.

Has anyone else seen this/can help me work out what's missing?

@dpa99c
Copy link
Owner

dpa99c commented Aug 4, 2016

Looks like this error has started occurring because this plugin specifies v23 of the Application Support Library , but it looks like now Android N/7.0 has been released, v23 has been dropped in place of v24:

24.1.1
24.1.0
24.0.0
22.2.0
22.1.0

As a quick fix, you can edit platforms/android/build.gradle and change:

compile "com.android.support:support-v4:23.+"
compile "com.android.support:appcompat-v7:23.+"

to

compile "com.android.support:support-v4:+"
compile "com.android.support:appcompat-v7:+"

I'll also update the plugin config to resolve this and publish a new version.

@dpa99c dpa99c added the bug Something isn't working properly label Aug 4, 2016
@dpa99c dpa99c closed this as completed in adb2d25 Aug 4, 2016
@dpa99c
Copy link
Owner

dpa99c commented Aug 4, 2016

I've pushed out the fix in [email protected] - remove/re-add the plugin to get this version and it should resolve the issue.

@roboflank
Copy link

Updating Google Play Service And Google Repository Solved the issue for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working properly
Projects
None yet
Development

No branches or pull requests

3 participants