transistorsoft / flutter_background_geolocation

Sophisticated, battery-conscious background-geolocation & geofencing with motion-detection
https://www.transistorsoft.com/shop/products/flutter-background-geolocation
Other
650 stars 241 forks source link

Could not resolve com.transistorsoft:tsbackgroundfetch:+. #1334

Closed Manoj-Madushantha closed 3 months ago

Manoj-Madushantha commented 3 months ago

Your Environment

Expected Behavior

Code should compile and successfully build apk files.

Actual Behavior

What went wrong: Execution failed for task ':app:checkDebugAarMetadata'.

Could not resolve all files for configuration ':app:debugRuntimeClasspath'. Could not resolve com.transistorsoft:tsbackgroundfetch:+. Required by: project :app > project :background_fetch Failed to list versions for com.transistorsoft:tsbackgroundfetch. Unable to load Maven meta-data from https://maven.transistorsoft.com/repository/maven-public/com/transistorsoft/tsbackgroundfetch/maven-metadata.xml.

Steps to Reproduce

1. 2. 3. 4.

Context

this is pubspec.yaml dependencies: flutter: sdk: flutter qr_code_scanner: ^1.0.1 location: ^6.0.2 http: ^1.2.1 workmanager: ^0.5.2 geolocator: ^12.0.0 provider: ^6.0.3 permission_handler: ^11.3.1 shared_preferences: ^2.0.15 flutter_background_geolocation: ^4.15.5

flutter clean flutter pub get flutter run

Debug logs

Logs ``` Execution failed for task ':app:checkDebugAarMetadata'. > Could not resolve all files for configuration ':app:debugRuntimeClasspath'. > Could not resolve com.transistorsoft:tsbackgroundfetch:+. Required by: project :app > project :background_fetch > Failed to list versions for com.transistorsoft:tsbackgroundfetch. > Unable to load Maven meta-data from https://maven.transistorsoft.com/repository/maven-public/com/transistorsoft/tsbackgroundfetch/maven-metadata.xml. > Could not GET 'https://maven.transistorsoft.com/repository/maven-public/com/transistorsoft/tsbackgroundfetch/maven-metadata.xml'. > maven.transistorsoft.com > Could not resolve com.transistorsoft:tslocationmanager:+. Required by: project :app > project :flutter_background_geolocation > Failed to list versions for com.transistorsoft:tslocationmanager. > Unable to load Maven meta-data from https://maven.transistorsoft.com/repository/maven-public/com/transistorsoft/tslocationmanager/maven-metadata.xml. > Could not GET 'https://maven.transistorsoft.com/repository/maven-public/com/transistorsoft/tslocationmanager/maven-metadata.xml'. > maven.transistorsoft.com ```