Closed vekexasia closed 11 years ago
Can you please try again with the new v1.0? We have done a lot of changes.
Hello @destil , unfortunately it seems 1.0 is not in maven central yet.
Do you know when it will become available?
We have already pushed it there, it's a matter of hours.
It's available in Maven Central now.
Still:
Error: duplicate files during packaging of APK
AppsBuilder/build/apk/AppsBuilder-BIT-debug-unaligned.apk
Path in archive: AndroidManifest.xml
Origin 1: AppsBuilder/build/libs/AppsBuilder-BIT-debug.ap_
Origin 2: /home/veke/.gradle/caches/artifacts-24/filestore/eu.inmite.android.lib/android-styled-dialogs/1.0/apklib/9b3fa453eb57c716e12ff520e08fafaf867a8f75/android-styled-dialogs-1.0.apklib
:AppsBuilder:packageBITDebug FAILED
I suggest publishing it as aar . It looks like it's unusable from gradle
@vekexasia agreed, we need to add support for gradle build. If you don't want to wait, pull requests are welcomed :-)
Hello tomas, would you mind trying to change the packaging tag of your pom files to "aar" instead of apklib?
That might solve the issue.
Unfortunately I'm very new to maven so I don't have the necessary expertise to even try to fix the problem :(
Hi, I can't change packaging type in pom, that would break build for maven users. We need to create new gradle build configuration, it's not about fixing pom. We plan to do that, I just can't tell when we get to it.
@tomas-vondracek For my own library (android-form-edittext) i followed this link. http://www.vandalsoftware.com/post/52468430435/publishing-an-android-library-aar-to-a-maven
It just worked. I hope that will help you out.
Thanks to pull request we were able to add Gradle support. Check version 1.0.1
Hello,
i'm trying to use your library within my project using gradle + your maven group+artifactid.
The first problem I came across is that you're referencing a support library that is different from the "official" one in google repos. This prompts an error
after fixing that by writing the following in my gradle.build:
I experienced this other problem below: