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

Can not compile android build in gradle cause 'com.google.android » apk-expansion' was removed from maven central #42

Closed
kles4enko opened this issue Jan 30, 2017 · 5 comments

Comments

@kles4enko
Copy link

Hi,
I'm tying to configure gradle for playn project, instead of maven.
I found that gradle can't resolve "apk-extention" dependency:

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':android'.
> Could not resolve all dependencies for configuration ':android:_debugApkCopy'.
   > Could not find com.google.android:apk-expansion:r3.
     Required by:
         project :android > io.playn:playn-android:2.0-rc3

If check maven central for this package I see 404:
[404] Not Found: /artifact/com.google.android/apk-expansion

Workaround for gradle based android builds is to exclude this dependency. It works fine. But maven users must see an error.

@samskivert
Copy link
Contributor

That was removed in May 2016:

commit da170a9cc05d1f9f9f67a3ebbab98f0b2f2dbb01
Author: Michael Bayne <mdb@fb.com>
Date:   Thu May 19 12:22:25 2016 -0700

    Remove APK expansion file support.

Are you using an old release or something?

@samskivert
Copy link
Contributor

Oh I see that it's showing rc3, that's weird. That should definitely not have that dependency.

@samskivert
Copy link
Contributor

Oh wow. rc3 was released in December 2015. Wow, I am working on geologic time here. I'll release an rc4 for now and at least sort that out.

@samskivert
Copy link
Contributor

OK, I just shipped an rc4 which should not have this problem.

@kles4enko
Copy link
Author

kles4enko commented Feb 3, 2017

Oh wow. rc3 was released in December 2015.

Wow, I thought that it was released in June 2016...))

Many thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants