-
Notifications
You must be signed in to change notification settings - Fork 54
Run error #1
Comments
Thanks for the report. Does this error occur when trying to build the example included in this repo or did you encounter it in your own project? I'm asking because I can build projects depending on Fluttie on my machine and because Fluttie does not depend on 'com.android.support:support-fragment'. It only transitively depends on 'com.android.support:appcompat-v7' with version 27.0.2. |
dependencies: cupertino_icons: ^0.1.0 use in my own project , run the example and it conflict with 'location' flutter plugin |
Ok, I think I figured it out. What I said earlier is wrong as the Android library of Lottie does depend on the support-fragment library. As the version Lottie is using differs from the version the location package requests, the build fails because Gradle can't decide which version to include. dependencies {
implementation 'com.android.support:support-fragment:27.1.0'
[...] This will force the location plugin to use the newer version that Fluttie is using as well. I have just published an update for Fluttie including the latest version of Lottie, I recommend that you use it as well here:
and check if you can then run your app with Fluttie. |
it works:0,thanks
|
You can change the size of your animations in two places: In |
If loadAnimation issues the load_composition event before returning from the invokeMethod call, there will be no _pendingAnimationLoader waiting for it. This has been observed fairly often, resulting in uncaught zone exceptions with message "NoSuchMethodError: The method 'complete' was called on null. Receiver: null Tried calling: complete(0)" and stack trace #0 Object.noSuchMethod (dart:core/runtime/libobject_patch.dart:50:5) simolus3#1 Fluttie._onData (package:fluttie/fluttie.dart:204:19) simolus3#2 _rootRunUnary (dart:async/zone.dart:1132:38)
FAILURE: Build failed with an exception.
Execution failed for task ':app:preDebugBuild'.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Get more help at https://help.gradle.org
BUILD FAILED in 2s
Finished with error: Gradle build failed: 1
The text was updated successfully, but these errors were encountered: