I have successfully uploaded a library to bintray, which shows the version and the dependency correctly. But when I requested to link it to jcenter, I got this response:
Hi,
We can see that there are two paths under the same package, one used for the .aar/.jar/.apk and jar-sources.jar and *-javadoc.jar files on under: /com/androiddev/android-dev-core/1.0.0
and one for the .pom file: /com/androiddev/core/1.0.0
We can only approve one path for a single package. Please consolidate the two paths and let us know which path prefix you would like to include.
Thanks, JFrog Support
I can see the two paths under file section in bintray. Any idea how to solve this?
To avoid this problem make sure your library name is similar to the one you have created on bintray. If they differ, it will create two separate paths when you upload your library to bintray from android studio terminal using bintrayUpload command.
My bintray configuration in build.gradle is given below.
}
Here artifact and bintray project name should be same as your library name in android studio.