-
-
Notifications
You must be signed in to change notification settings - Fork 565
Build failed with an exception. #155
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
Comments
This error in general happens due to an incorrect config on the gradle top level build file. check if your gradle file has the same repositories as our example app. If this does not work can you share the top level gradle file with us + which gradle version you are using + android tools version? You can find the gradle version in |
Top Level Gradle
} allprojects {
} rootProject.buildDir = '../build'
} task clean(type: Delete) { Gradle Version App Level Grandle def flutterRoot = localProperties.getProperty('flutter.sdk') def flutterVersionCode = localProperties.getProperty('flutter.versionCode') def flutterVersionName = localProperties.getProperty('flutter.versionName') apply plugin: 'com.android.application' def keystoreProperties = new Properties() android {
}
} flutter { dependencies { apply plugin: 'com.google.firebase.crashlytics' |
I was having lots of build failures with exceptions as well. Here is what I changed to get rid of the exceptions in my case (hopefully it works for you!):
|
Improved documentation was added |
* sync android code * implement new parsing cardfield and paymentintent * comply to new result propagation for setupintent * sync ios * Update dart layer * Throw errors for easy debug + cancel login when error * workaround for stripe/stripe-react-native#368, also adjusted canceledAt * migrate to flutter_lints because pedantic is deprecated * implement create token method (#165) * implement create token method * add create token to example app * Add createToken for iOS * Make example tiles scrollable Co-authored-by: Jaime Blasco <[email protected]> * improve documentation for Android and issues #155 #142 * fix merge issue * add urlscheme to initialise method * BREAKING: rename threedsecure button config and add config theme for other buttons * BREAKING make paymentIntentClientSecret nullable and add setupIntentClientSecret for paymentsheet * add fontfamily and dangerouslyGetFullCardDetails to cardfield Co-authored-by: Remon <[email protected]> Co-authored-by: Remon Helmond <[email protected]> Co-authored-by: Jaime Blasco <[email protected]>
Describe the bug
Will running the app I'm getting build failed exception with the below error.
_*What went wrong:
Execution failed for task ':app:checkDebugAarMetadata'.
Smartphone / tablet
environment:
sdk: ">=2.12.0-0 <3.0.0"
Flutter Doctor Output
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.2.2, on Mac OS X 10.15.7 19H2 darwin-x64, locale en-IN)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
[✓] Xcode - develop for iOS and macOS
[✓] Chrome - develop for the web
[✓] Android Studio (version 3.5)
[✓] VS Code (version 1.57.1)
[✓] Connected device (2 available)
The text was updated successfully, but these errors were encountered: