Closed
Description
Operating System
Android
Plugin
connectivity_plus
Version
6.1.0
Flutter SDK
3.24.5
Compilation command
flutter run
Dart Dependencies
name: id_app
description: "A unique ID for all your needs"
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 1.0.0+1
environment:
sdk: '>=3.4.4 <4.0.0'
dependencies:
flutter:
sdk: flutter
flutter_localizations:
sdk: flutter
cupertino_icons: any
go_router: any
intl: any
logger: any
flutter_secure_storage: any
dio: any
cached_network_image: any
google_fonts: any
shared_preferences: any
permission_handler: any
json_annotation: ^4.9.0
freezed_annotation: any
freezed: any
flutter_svg: any
firebase_core: any
firebase_messaging: any
firebase_analytics: ^11.3.4
firebase_crashlytics: any
firebase_performance: any
path_provider: any
get_it: any
# url_launcher: any
# uni_links: any
flutter_bloc: any
bloc: any
package_info_plus: ^8.1.1
device_info_plus: any
connectivity_plus: ^6.1.0
flutter_native_splash: any
pinput: any
image_picker: any
syncfusion_flutter_datepicker: ^27.1.53
flutter_dotenv: ^5.2.1
phone_numbers_parser: ^9.0.1
flutter_contacts: any
lottie: ^3.1.3
dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: any
build_runner: any
json_serializable: any
flutter:
uses-material-design: true
generate: true
# To add assets to your application, add an assets section, like this:
assets:
- assets/
- assets/images/
- assets/svg/
- assets/animations/
- assets/svg/illustrations/
- assets/animations/lottie/
- assets/animations/lottie/loading/
- .env
Native dependencies
java --version:
openjdk version "17.0.10" 2024-01-16
OpenJDK Runtime Environment Temurin-17.0.10+7 (build 17.0.10+7)
OpenJDK 64-Bit Server VM Temurin-17.0.10+7 (build 17.0.10+7, mixed mode)
Compilation Error
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':connectivity_plus:compileDebugJavaWithJavac'.
> Could not resolve all files for configuration ':connectivity_plus:androidJdkImage'.
> Failed to transform core-for-system-modules.jar to match attributes {artifactType=_internal_android_jdk_image, org.gradle.libraryelements=jar, org.gradle.usage=java-runtime}.
> Execution failed for JdkImageTransform: /Users/yara/Library/Android/sdk/platforms/android-34/core-for-system-modules.jar.
> Error while executing process /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/jlink with arguments {--module-path /Users/yara/.gradle/caches/transforms-3/415f75d5af352efb92f325a6641688f2/transformed/output/temp/jmod --add-modules java.base --output /Users/yara/.gradle/caches/transforms-3/415f75d5af352efb92f325a6641688f2/transformed/output/jdkImage --disable-plugin system-modules}
* 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 1m 1s
Error: Gradle task assembleDebug failed with exit code 1
Flutter Doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.24.5, on macOS 15.1.1 24B91 darwin-x64, locale en-IQ)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 16.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2024.2)
[✓] VS Code (version 1.94.2)
[✓] Connected device (4 available)
[✓] Network resources
• No issues found!
Checklist before submitting a bug
- I searched issues in this repository and couldn't find such bug/problem
- I Google'd a solution and I couldn't find it
- I searched on StackOverflow for a solution and I couldn't find it
- I read the README.md file of the plugin
- I'm using the latest version of the plugin
- All dependencies are up to date with
flutter pub upgrade
- I did a
flutter clean
- I tried running the example project
Activity