-
-
Notifications
You must be signed in to change notification settings - Fork 205
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Build faild #323
Comments
Hey Are you directly importing v1.0.25 from GitHub? If so, please point it to 1.0.26, or pull the release version of 1.0.25 from pub get. I'm confident this issue isn't live and was somehow added to 1.0.25 after release. The issue is an updated version of Sembast for local cache. This issue has been resolved and will be released shortly |
@phillwiggins I have point it to 1.0.25 from pub get, but there is stille the error.
|
parse_server_sdk: I will release this version today at some point. Let me know if the issue persists. |
It doesn't really look like there is changes in this area. Can you post
some code?
…On Mon, Mar 9, 2020, 10:37 朱嘉伟 ***@***.***> wrote:
Now a new error was occuared:
[+3098 ms] [+3138 ms]
[ +2 ms] Compiler message:
[ ] [ +1 ms] lib/models/user.dart:145:58: Error: Too few positional arguments: 1 required, 0 given.
[ ] [ ] final user = await ParseUser.getCurrentUserFromServer(token: token.result);
[ ] [ ] ^
[ ] [ ] /C:/flutter/.pub-cache/git/Parse-SDK-Flutter-6a0ae4c9409e88267eb119499863f5e192a879af/lib/src/objects/parse_user.dart:89:32:
Context: Found this candidate, but the arguments don't match.
[ +1 ms] [ ] static Future<ParseResponse> getCurrentUserFromServer(String token,
[ ] [ ] ^^^^^^^^^^^^^^^^^^^^^^^^
[+6293 ms] [+6234 ms] Persisting file store
[ +1 ms] [ +18 ms] Done persisting file store
[ +1 ms] [ +1 ms] Target kernel_snapshot failed: Exception: Errors during snapshot creation: null
[ ] build failed.
[ ] #0 throwToolExit (package:flutter_tools/src/base/common.dart:28:3)
[ ] #1 AssembleCommand.runCommand (package:flutter_tools/src/commands/assemble.dart:183:7)
[ ] [ +11 ms] "flutter assemble" took 11,982ms.
[ ] <asynchronous suspension>
[ +2 ms] #2 FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:615:18)
[ ] <asynchronous suspension>
[ +1 ms] #3 FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:515:33)
[ +1 ms] <asynchronous suspension>
[ ] #4 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:146:29)
[ ] #5 _rootRun (dart:async/zone.dart:1126:13)
[ ] #6 _CustomZone.run (dart:async/zone.dart:1023:19)
[ ] #7 _runZoned (dart:async/zone.dart:1518:10)
[ +1 ms] #8 runZoned (dart:async/zone.dart:1465:12)
[ +2 ms] #9 AppContext.run (package:flutter_tools/src/base/context.dart:145:18)
[ ] #10 FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:505:20)
[ ] #11 CommandRunner.runCommand (package:args/command_runner.dart:197:27)
[ ] #12 FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:413:21)
[ ] <asynchronous suspension>
[ ] #13 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:146:29)
[ ] #14 _rootRun (dart:async/zone.dart:1126:13)
[ +1 ms] #15 _CustomZone.run (dart:async/zone.dart:1023:19)
[ ] #16 _runZoned (dart:async/zone.dart:1518:10)
[ ] #17 runZoned (dart:async/zone.dart:1465:12)
[ ] #18 AppContext.run (package:flutter_tools/src/base/context.dart:145:18)
[ ] #19 FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:364:19)
[ +1 ms] #20 CommandRunner.run.<anonymous closure> (package:args/command_runner.dart:112:25)
[ ] #21 new Future.sync (dart:async/future.dart:224:31)
[ ] #22 CommandRunner.run (package:args/command_runner.dart:112:14)
[ ] #23 FlutterCommandRunner.run (package:flutter_tools/src/runner/flutter_command_runner.dart:250:18)
[ ] #24 run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:63:22)
[ ] #25 _rootRun (dart:async/zone.dart:1126:13)
[ ] #26 _CustomZone.run (dart:async/zone.dart:1023:19)
[ ] #27 _runZoned (dart:async/zone.dart:1518:10)
[ ] #28 runZoned (dart:async/zone.dart:1502:12)
[ ] #29 run.<anonymous closure> (package:flutter_tools/runner.dart:61:18)
[ ] <asynchronous suspension>
[ ] #30 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:146:29)
[ ] #31 _rootRun (dart:async/zone.dart:1126:13)
[ ] #32 _CustomZone.run (dart:async/zone.dart:1023:19)
[ +1 ms] #33 _runZoned (dart:async/zone.dart:1518:10)
[ ] #34 runZoned (dart:async/zone.dart:1465:12)
[ ] #35 AppContext.run (package:flutter_tools/src/base/context.dart:145:18)
[ ] #36 runInContext (package:flutter_tools/src/context_runner.dart:64:24)
[ ] #37 run (package:flutter_tools/runner.dart:50:10)
[ ] #38 main (package:flutter_tools/executable.dart:65:9)
[ +1 ms] #39 main (file:///C:/flutter/packages/flutter_tools/bin/flutter_tools.dart:8:3)
[ ] #40 _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:305:32)
[ ] #41 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:174:12)
[ +46 ms] > Task :app:compileFlutterBuildRelease FAILED
[ ] FAILURE: Build failed with an exception.
[ ] * Where:
[ ] Script 'C:\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 780
[ ] * What went wrong:
[ ] Execution failed for task ':app:compileFlutterBuildRelease'.
[ ] > Process 'command 'C:\flutter\bin\flutter.bat'' finished with non-zero exit value 1
[ ] * 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 fullinsights.
[ ] * Get more help at https://help.gradle.org
[ ] BUILD FAILED in 21s
[ ] 26 actionable tasks: 1 executed, 25 up-to-date
[ +370 ms] Running Gradle task 'assembleRelease'... (completed in 21.8s)
[ +2 ms] The built failed likely due to AndroidX incompatibilities in a plugin. The tool is about to try using Jetfier to solve the
incompatibility.
[ +7 ms] Building plugin admob_flutter...
[ +6 ms] Running Gradle task 'assembleAarRelease'...
[ +1 ms] gradle.properties already sets `android.enableR8`
[ +14 ms] "flutter apk" took 22,647ms.
The plugin admob_flutter could not be built due to the issue above.
#0 throwToolExit (package:flutter_tools/src/base/common.dart:28:3)
#1 buildPluginsAsAar (package:flutter_tools/src/android/gradle.dart:726:7)
#2 _asyncErrorWrapperHelper.<anonymous closure> (dart:async-patch/async_patch.dart:80:45)
#3 _rootRunBinary (dart:async/zone.dart:1146:38)
#4 _CustomZone.runBinary (dart:async/zone.dart:1039:19)
#5 _FutureListener.handleError (dart:async/future_impl.dart:153:20)
#6 Future._propagateToListeners.handleError (dart:async/future_impl.dart:692:47)
#7 Future._propagateToListeners (dart:async/future_impl.dart:713:24)
#8 Future._completeError (dart:async/future_impl.dart:532:5)
#9 Future._asyncCompleteError.<anonymous closure> (dart:async/future_impl.dart:580:7)
#10 _rootRun (dart:async/zone.dart:1126:13)
#11 _CustomZone.run (dart:async/zone.dart:1023:19)
#12 _CustomZone.runGuarded (dart:async/zone.dart:925:7)
#13 _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:965:23)
#14 _microtaskLoop (dart:async/schedule_microtask.dart:43:21)
#15 _startMicrotaskLoop (dart:async/schedule_microtask.dart:52:5)
#16 _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118:13)
#17 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:175:5)
[√] Flutter (Channel stable, v1.12.13+hotfix.8, on Microsoft Windows [Version 10.0.17134.1], locale zh-CN) [√] Android toolchain - develop for Android devices (Android SDK version 28.0.3) [!] Android Studio (version 3.1)
X Flutter plugin not installed; this adds Flutter specific functionality.
X Dart plugin not installed; this adds Dart specific functionality. [√] Connected device (1 available)
! Doctor found issues in 1 category.
How can i solve the problem?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#323?email_source=notifications&email_token=AB4CPXXINEQW7SQLRDJDNRTRGTBH7A5CNFSM4LEAHW4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOGR5QY#issuecomment-596451011>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB4CPXWDHXP6MSJFBAVA6QLRGTBH7ANCNFSM4LEAHW4A>
.
|
Solved. |
The text was updated successfully, but these errors were encountered: