5

I'm trying to update an Android library on Bintray, But its not showing the new version of my library.

I updated my VERSION_NAME and VERSION_CODE in my library gradle.properties.

I updated my library version in my bintray.gradle file in my library.

My package name still remains the same.

Then I used the gradlew command.

./gradlew install

./gradlew bintrayUpload

As shown in https://inthecheesefactory.com/blog/how-to-upload-library-to-jcenter-maven-central-as-dependency/en

It shows me BUILD SUCCESSFUL for both commands but Never uploads my library on Bintray, neither do I see any files uploaded.

Any thing else I could be missing?

Tosin Onikute
  • 3,883
  • 6
  • 38
  • 61
  • 1
    Please try instead of ./gradlew install, ./gradlew clean build install – galusben Jun 26 '17 at 08:17
  • 1
    Tried with no success. do you have the solution? – Udi Oshi Aug 08 '17 at 10:49
  • 2
    any solution to this problem yet? I'm facing the same issue for last few days. – Riddhiman Adib Nov 07 '17 at 00:37
  • Hi guys I had same issue last 2 days. I think the problem is a silent fail related to missing values e.g. key or user. Just a question do you previously uploaded files with same bintray gradle config or is your fist time. I mean I can post a full answer explaining how I fix it but no idea if is the same problem xD – MiguelHincapieC Jan 22 '18 at 14:27
  • @MiguelHincapieC I had uploaded one library successfully. And now trying to upload second library and it shows build successful but no files uploaded on bintray. – TechHelper Jun 05 '18 at 21:43
  • @TechHelper after you execute `gradlew bintrayupload --info` you need to go back in terminal log and check if really the files were uploaded. – MiguelHincapieC Jun 06 '18 at 20:09
  • @TechHelper if you have questions about config files, take a look [at those](https://gist.github.com/miguelhincapie/7ca32d25561fc74b3d4c497758d597ed) – MiguelHincapieC Jun 06 '18 at 20:10
  • @MiguelHincapieC Thanks a lot for the help. I executed upload command with debug flag and got the exact error and fixed it quickly. Debug flag is the best way to understand the error. – TechHelper Jun 08 '18 at 03:54
  • I have a same issue, after careful checked, there is two user in my bintray so my uploaded libs goes to second user, and I continuous checking other users dashboard, please check whether or not it case for you. – Hitesh Dhamshaniya Oct 10 '19 at 08:26
  • I forgot to specify the publication, check if you did to: `setPublications("..."); publish = true` – Animesh Sahu Nov 15 '20 at 06:04

0 Answers0