[DISCONTINUED] A flutter plugin with stripe payment plugin integration
MIT License
307
stars
243
forks
source link
Build apk has problem: Could not GET 'https://google.bintray.com/exoplayer/net/minidev/json-smart/maven-metadata.xml'. Received status code 502 from server: Bad Gateway #341
flutter doctor -v
[✓] Flutter (Channel flutter-1.22-candidate.0, 1.21.0-10.0.pre.145, on macOS 11.6 20G165, locale en-VN)
• Flutter version 1.21.0-10.0.pre.145 at /Users/account/development/flutter
• Framework revision 3c9f68bc7e (1 year, 4 months ago), 2020-08-18 16:28:45 -0700
• Engine revision b58f70f2c8
• Dart version 2.10.0 (build 2.10.0-38.0.dev)
[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0-rc1)
• Android SDK at /Users/account/Library/Android/sdk
• Platform android-31, build-tools 32.0.0-rc1
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 12.5)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 12.5, Build version 12E262
• CocoaPods version 1.10.1
[!] Android Studio (version 4.2)
• Android Studio at /Applications/Android Studio.app/Contents
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
• Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
[✓] VS Code (version 1.63.0)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.29.0
[!] Connected device
! No devices available
! Doctor found issues in 2 categories.
Steps:
Just new one project
Add depend on it pubspec.yaml
dependencies:
flutter:
sdk: flutter
flutter_localizations:
sdk: flutter
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
http: 0.12.2
stripe_payment: ^1.0.9 # <~~ added
image_picker: ^0.6.7+14 # <~~ added
dev_dependencies:
flutter_test:
sdk: flutter
3. Run `flutter build apk`
**Issue:**
FAILURE: Build failed with an exception.
What went wrong:
Could not determine the dependencies of task ':app:processReleaseResources'.
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.
Run: flutter doctor -v
Steps:
Add depend on it
pubspec.yaml
dev_dependencies: flutter_test: sdk: flutter
FAILURE: Build failed with an exception.
What went wrong:
Could not determine the dependencies of task ':app:processReleaseResources'.
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 7s