flet build apk error #3943
Unanswered
marcrr79907
asked this question in
Q&A
Replies: 1 comment 1 reply
-
|
This seems like an Internet connection issue. Are you able to download (from the error message) in browser: https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-compiler-embeddable/1.7.10/kotlin-compiler-embeddable-1.7.10.jar? If this link works, the build should also work now. Maven central has high uptime; if the issue continues, try a different network. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Question
Please I need help with the following error, I have reviewed the recommended links but I cannot find the solution, how can I resolve this situation.
Code sample
No response
Error message
[06:21:43] Packaged Python app ✅ Run subprocess: ['D:\\Programation\\Resources\\flutter_windows_3.22.2-stable\\flutter\\bin\\flutter.BAT', 'build', 'apk', '--build-name', '1.0.0'] ( ● ) Building .apk for Android ⏳... ( ● ) Building .apk for Android ⏳... ( ● ) Building .apk for Android ⏳... audioplayers 5.2.1 (6.1.0 available) audioplayers_android 4.0.3 (5.0.0 available) audioplayers_darwin 5.0.2 (6.0.0 available) audioplayers_linux 3.1.0 (4.0.0 available) audioplayers_platform_interface 6.1.0 (7.0.0 available) audioplayers_web 4.1.0 (5.0.1 available) audioplayers_windows 3.1.0 (4.0.0 available) collection 1.18.0 (1.19.0 available) file_picker 6.2.1 (8.1.2 available) fl_chart 0.65.0 (0.69.0 available) flet 0.19.0 (0.24.1 available) flutter_lints 2.0.3 (4.0.0 available) flutter_markdown 0.6.23 (0.7.3+1 available) http_parser 4.0.2 (4.1.0 available) js 0.6.7 (0.7.1 available) leak_tracker 10.0.4 (10.0.7 available) leak_tracker_flutter_testing 3.0.3 (3.0.8 available) lints 2.1.1 (4.0.0 available) material_color_utilities 0.8.0 (0.12.0 available) meta 1.12.0 (1.15.0 available) screen_retriever 0.1.9 (0.2.0 available) sensors_plus 4.0.2 (6.0.1 available) sensors_plus_platform_interface 1.2.0 (2.0.0 available) string_scanner 1.2.0 (1.3.0 available) synchronized 3.1.0+1 (3.2.0 available) test_api 0.7.0 (0.7.3 available) toml 0.15.0 (0.16.0 available) url_launcher_android 6.3.9 (6.3.10 available) url_strategy 0.2.0 (0.3.0 available) vm_service 14.2.1 (14.2.5 available) web_socket_channel 2.4.0 (3.0.1 available) webview_flutter 4.8.0 (4.9.0 available) webview_flutter_wkwebview 3.14.0 (3.15.0 available) window_manager 0.3.9 (0.4.2 available) Got dependencies! 34 packages have newer versions incompatible with dependency constraints. Try `flutter pub outdated` for more information. ( ● ) Building .apk for Android ⏳... You are applying Flutter's app_plugin_loader Gradle plugin imperatively using the apply script method, which is deprecated and will be removed in a future release. Migrate to applying Gradle plugins with the declarative plugins block: https://flutter.dev/go/flutter-gradle-plugin-apply FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring root project 'android'. > Could not resolve all files for configuration ':classpath'. > Could not download kotlin-compiler-embeddable-1.7.10.jar (org.jetbrains.kotlin:kotlin-compiler-embeddable:1.7.10) > Could not get resource 'https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-compiler-embeddable/1.7.10/kotlin-compiler-embeddable-1.7.10.jar'. > Could not GET 'https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-compiler-embeddable/1.7.10/kotlin-compiler-embeddable-1.7.10.jar'. > �ste es normalmente un error temporal durante la resoluci�n de nombres de host y significa que el servidor local no recibi� una respuesta de un servidor autoritativo (repo.maven.apache.org) * 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 24m 17s ( ●) Building .apk for Androi 1458,8s [!] Gradle threw an error while downloading artifacts from the network. Retrying Gradle Build: #1, wait time: 100ms You are applying Flutter's app_plugin_loader Gradle plugin imperatively using the apply script method, which is deprecated and will be removed in a future release. Migrate to applying Gradle plugins with the declarative plugins block: https://flutter.dev/go/flutter-gradle-plugin-apply ( ● ) Building .apk for Android ⏳... ( ●) Building .apk for Android ⏳...------------------------------------------------------
Beta Was this translation helpful? Give feedback.
All reactions