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
Problem when using latest support library with aar. #30
Comments
You can declare the dependency like this :
But then, i have another exception at runtime:
Tell me if it works. |
I'm getting a similar error:
|
Yep, I have same issues. It looks like the AAR generation in latest Android Maven plugin is not there yet. I have published and issue here: https://code.google.com/p/maven-android-plugin/issues/detail?id=437 In the meantime I'm working on publishing aar via Gradle. I will specify support library as provided dependency so people can use newer support librarie with no problems. |
I confirm it is a bug in android maven plugin. |
I have finished building AAR with Gradle. It was pretty hard to release both AAR & APKlib into same version in Maven Central. Most problems were caused by the fact that latest support library is not available in Maven Central. I have written a guide, next time it will be easier: https://github.com/inmite/android-styled-dialogs/wiki/How-to-release-an-update-to-Maven-Central-as-both-aar-and-apklib Try version 1.1.2, it should work. |
1.1.2 works. Thanks! |
I am using the 1.1.1 aar with Gradle.
I think because this library references the "r7" version of the support library that is in Maven Central, but I'm using the latest version of the support library provided by the local repository provided by the Android SDK, I'm getting the following error:
Can the library be changed to use the (latest) version of the support library that is provided by the Android SDK? I know that works with Gradle but not sure about Maven.
The text was updated successfully, but these errors were encountered: