jitpack / jitpack.io

Documentation and issues of https://jitpack.io
MIT License
2.54k stars 187 forks source link

UsbSerial/6.1.0 build #6634

Open Trescode-repos opened 1 month ago

Trescode-repos commented 1 month ago

Please provide:

Thank you!

MatthewHightech commented 1 month ago

I also just got this same error. Any fixes?

Trescode-repos commented 1 month ago

I was able to restore the local .gradle cache which had a version in it. Try unzipping this file in your local .gradle/caches/modules/files (mine was modules-2/files-2.1, but the -# was different in one of the failed build's caches, so whichever one already exists). My local cache on windows was C:/Users/[me]/.gradle If that doesn't work I can give you all the transforms that have been created, but I really have no idea how gradle functions. com.github.felHR85.zip

MatthewHightech commented 1 month ago

Thanks! I added it to my .gradle but my app still can't find it. Do I have to add something to the setting.gradle or build.gradle in my app?

Trescode-repos commented 1 month ago

This contains a bit more including a file call fileHashes, which sounds promising, but I honestly dont know if it will work. My android/settings.gradle has this set for flutter, AGP and kotlin: plugins { id "dev.flutter.flutter-plugin-loader" version "1.0.0" id "com.android.application" version "7.3.0" apply false id "org.jetbrains.kotlin.android" version "1.7.10" apply false }

And the gradle-wrapper.properties is pointed here: distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip

Everything else is default as flutter 3.22.3 set it up

caches.zip

worldhugo commented 3 weeks ago

same here :(

HJ-626 commented 2 weeks ago

I've got the same problem too. How does this just happen with a version that appears to be 5+ years old?

Tried manually adding the AAR file into the project but then get duplicate errors.

I've still got it building locally for now (I believe because of caching a working version), but our automated build server cannot build anything.

Trescode-repos commented 1 week ago

It seems like the build here https://jitpack.io/com/github/felHR85/UsbSerial/6.1.0/ is unstable. If you refresh the location in browser, 70% of the time there is only a build file. We probably got our cached versions from jcenter prior to its shutdown in August. The other locations from the message return 404