-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to build on Android #1
Comments
I got the same issue. |
I've got the same issue for Android, for iOS everything works. Here's my flutter doctor: [✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0) [✓] Xcode - develop for iOS and macOS (Xcode 15.3) [✓] Chrome - develop for the web [✓] Android Studio (version 2022.3) [✓] VS Code (version 1.87.2) |
The Flutter plugin wraps the native KotlinSDK and so it requires that
It seems that the maven repository over at jitpack.io is intermittently very slow to respond and causing a timeout when Gradle attempts to build the app. When this happens, the following error appears in the log:
I will prepare a PR allowing the KotlinSDK to be published to Maven Central in order to avoid the connectivity issues related to jitpack (and also simplify the steps needed to run it on Android). In the meantime, while testing I noticed that adding jitpack with |
When I run my app on Android I get the following build error
And when I add
maven { url 'https://jitpack.io' }
to build.gradle I get the following:The text was updated successfully, but these errors were encountered: