In Github, my gradle build fails to download the version 3.6.0:
FAILURE: Build failed with an exception.
* What went wrong:
Configuration cache state could not be cached: field `elements` of `org.gradle.configurationcache.serialization.codecs.ResolutionBackedFileCollectionSpec` bean found in field `__librarySourceSets__` of task `:hal:mapDebugSourceSetPaths` of type `com.android.build.gradle.tasks.MapSourceSetPathsTask`: error writing value of type 'java.util.ArrayList'
> Could not find usb-serial-for-android-3.6.0.aar (com.github.mik3y:usb-serial-for-android:3.6.0).
Searched in the following locations:
https://jitpack.io/com/github/mik3y/usb-serial-for-android/3.6.0/usb-serial-for-android-3.6.0.aar
The dependency is included in gradle.build file as follows:
the 3.6.0 folder and content is now available. Maybe you have been the first one accessing the folder without v and it took some time for jitpack to build it.
What is the failure
In Github, my gradle build fails to download the version 3.6.0:
The dependency is included in gradle.build file as follows:
The repo is configured in as follows:
Details
Trying to browse https://jitpack.io/com/github/mik3y/usb-serial-for-android/ reveals that folder
3.6.0
is present (next to folderv3.6.0
):However, browsing folder 3.6.0 gives message "Not found".
In Android Studio, gradle says it was able to get the .pom file from this folder but not able to download the rest:
Additional information
Browsing folder v3.6.0 (with the leading "v") properly returns all artifacts as expected:
In Android Studio, gradle also able to download everything needed.
Known workaround
Unfortunately, this numbering is incompatible with Renovate bot, so you will not be getting notifications of the new versions
Possible solution
3.6.0
to Jitpack3.6.0
to Maven Central