美好的一天,我尝试制作一个带有android和ios通知的简易天气应用程序,为此,我们使用基础flutter应用程序和库flutter_local_notifications: ^0.5.1+2以及location: ^2.0.0,但同时使用它们会出现错误:
Launching lib\main.dart on SM A520F in debug mode...
Initializing gradle...
Resolving dependencies...
Gradle task 'assembleDebug'...
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:preDebugBuild'.
> Android dependency 'androidx.core:core' has different version for the compile (1.0.0-rc01) and runtime (1.0.1) classpath. You should manually set the same version via DependencyResolution
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get …Run Code Online (Sandbox Code Playgroud)