loic-hamdi / multiple_images_picker

MIT License
4 stars 14 forks source link

Could not find com.sangcomz:FishBun:0.11.2 #5

Open thekorn opened 1 year ago

thekorn commented 1 year ago

Bug Report

multiple_images_picker version: 1.0.1

Is it happening on Android: yes

Is it happening on iOS: no

$ flutter doctor                                                  
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.10.2, on macOS 13.4.1 22F82 darwin-arm64, locale de-DE)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.2)
[✓] VS Code (version 1.79.2)
[✓] VS Code (version 1.80.0-insider)
[✓] Connected device (2 available)
[✓] Network resources

• No issues found!

Describe the bug

Hi there, whenever I want to build any of my projects using multiple_images_picker version: 1.0.1 I get this build error on android builds:

$ flutter build apk                                                  

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':multiple_images_picker:generateReleaseRFile'.
> Could not resolve all files for configuration ':multiple_images_picker:releaseCompileClasspath'.
   > Could not find com.sangcomz:FishBun:0.11.2.
     Required by:
         project :multiple_images_picker

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 6s
Running Gradle task 'assembleRelease'...             

Looks like the FishBun dependency is not available anymore. In case it helps: resolving the dependecy worked just fine 4 days ago (last successfull know build was 2023-06-19)

In case you need any help to debug this further please let me know

thansk for your help,

markus

mohamedezoSD commented 2 months ago

Hi, I had the same problem,

I fixed it by change the library dependencies in build.gradle in root multiple_images_picker-1.0.1\android\build.gradle

from implementation 'com.sangcomz:FishBun:0.11.4' to implementation 'io.github.sangcomz:FishBun:0.11.4'

it will be like this : dependencies { implementation 'androidx.exifinterface:exifinterface:1.3.1' implementation 'io.github.sangcomz:FishBun:0.11.4' implementation 'com.github.bumptech.glide:glide:4.11.0' }

Regards