What went wrong:
Could not determine the dependencies of task ':tobias:generateDebugRFile'.
Could not resolve all task dependencies for configuration ':tobias:debugCompileClasspath'.
Could not find :alipaySdk-15.7.9-20200727142814-noUtdid:.
Required by:
project :tobias
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.
BUILD FAILED in 1m 31s
Exception: Gradle task assembleDebug failed with exit code 1
运行环境:
flutter doctor -v
[√] Flutter (Channel stable, 1.22.3, on Microsoft Windows [Version 10.0.17763.1697], locale zh-CN)
• Flutter version 1.22.3 at D:\Develop\flutter_windows_1.22.3-stable
• Framework revision 8874f21e79 (3 months ago), 2020-10-29 14:14:35 -0700
• Engine revision a1440ca392
• Dart version 2.10.3
• Pub download mirror https://pub.flutter-io.cn
• Flutter download mirror https://storage.flutter-io.cn
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at D:\Develop\Android\Sdk
• Platform android-30, build-tools 30.0.3
• ANDROID_HOME = D:\Develop\Android\Sdk
• Java binary at: C:\Program Files\Android\Android Studio1\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
• All Android licenses accepted.
[!] Android Studio (version 4.1.0)
• Android Studio at C:\Program Files\Android\Android Studio1
X Flutter plugin not installed; this adds Flutter specific functionality.
X Dart plugin not installed; this adds Dart specific functionality.
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
问题: tobias: 1.7.1+1 -- 安卓iOS正常。 tobias: 1.7.1+2 -- 安卓运行错误iOS正常。
报错如下: FAILURE: Build failed with an exception.
What went wrong: Could not determine the dependencies of task ':tobias:generateDebugRFile'.
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 31s Exception: Gradle task assembleDebug failed with exit code 1
运行环境: flutter doctor -v [√] Flutter (Channel stable, 1.22.3, on Microsoft Windows [Version 10.0.17763.1697], locale zh-CN) • Flutter version 1.22.3 at D:\Develop\flutter_windows_1.22.3-stable • Framework revision 8874f21e79 (3 months ago), 2020-10-29 14:14:35 -0700 • Engine revision a1440ca392 • Dart version 2.10.3 • Pub download mirror https://pub.flutter-io.cn • Flutter download mirror https://storage.flutter-io.cn
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.3) • Android SDK at D:\Develop\Android\Sdk • Platform android-30, build-tools 30.0.3 • ANDROID_HOME = D:\Develop\Android\Sdk • Java binary at: C:\Program Files\Android\Android Studio1\jre\bin\java • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01) • All Android licenses accepted.
[!] Android Studio (version 4.1.0) • Android Studio at C:\Program Files\Android\Android Studio1 X Flutter plugin not installed; this adds Flutter specific functionality. X Dart plugin not installed; this adds Dart specific functionality. • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
[√] Connected device (1 available) • PCAM00 (mobile) • 7d56728 • android-arm64 • Android 10 (API 29)