Open Trescode-repos opened 1 month ago
I also just got this same error. Any fixes?
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
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?
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
same here :(
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.
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
Please provide:
Link to build log from https://jitpack.io https://jitpack.io/com/github/felHR85/UsbSerial/6.1.0/build.log
Does the project build on your machine with the same commands (e.g. ./gradlew install) ? It built until I deleted my local gradle cache and tried to run
What error are you seeing? Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
Thank you!