jitpack / jitpack.io

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

UsbSerial/6.1.0 build #6634

Open Trescode-repos opened 1 week ago

Trescode-repos commented 1 week ago

Please provide:

Thank you!

MatthewHightech commented 1 week ago

I also just got this same error. Any fixes?

Trescode-repos commented 1 week 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 week 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 week 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