Open Trescode-repos opened 1 week 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
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!